What are the different types of socket communication?

The Internet socket is an entity that is an end point for an interprocess for two -way communication communications from the Internet to applications on computer or computers using a web application. Communication sockets are a function provided by operating systems for the handover of information packets to AZ applications such as browsers, web programs for text processing and e-mail clients, including, among other things, from transmission checks of protocol/internet protocol (TCP/IP) online. In practice, the plinth subroutines that can be written for UNIX or Windows operating systems will take the type of socket with its own communication style and socket protocol with its own type of service and communicate information for service request. UNIX Socket Communications is designed for client-server application architectures on the requirements of clients or clients on the server. Each socket has its own identifier and socket address and is capable of using several types of protocol. Basic categories of socket types are: Stream for virtual circuits, dgram for datagrams, Conndgram for the datograms of the connection, rdm for reliable delivery messages and raw for the raw type of socket. When they communicate distant and local types of sockets, they are called Socket couples, with local and remote ports and addresses.

Standard set of data transmission rules is called a socket protocol such as DataGram/Internet Protocol (UDP/IP) or TCP/IP. Each type of socket can have its own usual protocol for specific use to obtain support from the communication domain that will take place with local communication with UNIX, Internet communication with TCKOMUNUNICATION P/IP or operating systems (NDDs). The protocols have a protocol families that share the corresponding addresses in the header header file to be called and listed for use.

Setting domains have propertiesAnd in UNIX, the domain properties for the socket communication pass the files between processes from parents to the children's holes or using individual Unix sockets. In the area of ​​Windows or general use of the Internet, types of streaming and NDD sockets are mostly used in domain and layered properties on top or next to TCP/IP. The types of sockets have domain addresses and port numbers and can provide resource routing and security procedure and are usually coded by frequency. NDD domain properties use Ethernet and other interface protocols, allowing the DataGram packets to be sent and accepted.

servers are computer processes providing application service. They create a listening socket when starting and waiting for the client program. TCP/IP servers can serve several clients simultaneously by creating a unique reserved connection for each client and then the socket is in a reserved state.

IN OTHER LANGUAGES

Was this article helpful? Thanks for the feedback Thanks for the feedback

How can we help? How can we help?