Description: Socket Interface designers is the first interface on the inside of the Unix operating system. If you know the input and output of the Unix system, it is easy to understand Socket. Network socket data transfer is a special I/O, the Socket is also a file descriptor. Socket also has a similar function to open the file to call the Socket (), the function returns an integer Socket descriptor, subsequent connection establishment, data transfer and other operations are implemented by the Socket. There are two commonly used types of Socket: streaming the Socket (SOCK_STREAM) and Datagram type Socket (SOCK_DGRAM). Streaming is a connection-oriented Socket, the Socket connection corresponds to the connectionless UDP application for Datagram Socket is a TCP connection-oriented service applications
To Search:
File list (Check if you may need any files):
csoketprogram.doc