Monday, July 11, 2011

Explanation of Differences Type Socket Communications

Explanation of Differences Type Socket Communications-socket communication is a feature provided by the operating system to pass packets of information to and from a variety of applications such as browsers, web-based word processing program (web-based word processing program), email client, and several other programs via TCP / IP (Transmission Control Protocol / Internet Protocol).

In practice, the socket subroutine, which can be written for Unix or Windows operating system, using a socket type manner inherent communication and a sockets protocol inherent to the type of service, and communicative information to make a request (request) service. Unix socket communication (Unix socket communication) are used for client-server application architecture or client on a server. Each socket has an identity (identifier) ​​and address (socket address) its own, and can be used with several types of protocols.

Socket types are classified according to the nature of each communication semantics (semantic communication properties),as the process requires certain types of sockets. Kateogri basic socket types include: Stream for a virtual circuit, Dgram for datagram,ConnDgram for datagram connection, RDM to reliably deliverable message, and Raw for raw socket type.
A set of standard rules (standard rule sets) to transfer data is called a socket protocol, such as User Datagram Protocol / Internet Protocol (UDP / IP) or TCP / IP. Each type of socket can have a protocol for the specific use. The protocol has a protocol family (protocol family) sharing (sharing) the corresponding address in the header file socket (socket header files) and can be recalled and used.
May be useful.

0 comments:

Post a Comment

Blog Archive