Originally posted by: Nothinman
sockets are not part of C++ but rather part of the operating system. a socket is basically an abstract port that can send/receive data. in TCP/IP a socket would be bound to an IP and a port. the specifics of using sockets depend on your operating system though the general idea is the same.
Sockets are part of the C library although obviously part of the stack is implemented in each OSes kernel. And for basic socket usage, the functions are the same on all OSes that support C, i.e. socket, send,recv, accept, bind, connect, etc are all standard.