any book or guide for c++ socket programming?
Thanks in advance

what operating system? MS-Windows look for WinSock, *nix look for Burkeley Sockets. There are lots of free online tutorials, even a couple youtube videos.

Anything by W. Richard Stevens.