A socket is a generalized interprocess communication channel. Like a pipe, a sockets is represented as a file descriptor. European sockets are the primary means of communicating with other machines; telnet, rlogin, ftp, talk and the other familiar network programs use sockets.