Linux supports the SOCK_SEQPACKET socket connection for AF_UNIX domain. The Sequenced socket SOCK_SEQPACKET code is exactly similar to AF_UNIX TCP stream socket code. The only difference is that the “type parameter” of the socket API is passed SOCK_SEQPACKET as the type. The code analysis for the TCP Stream socket can be seen at this link […]
Sequenced socket (SOCK_SEQPACKET) connection
Sequenced Packet Socket connections are connection oriented sockets. The normal socket connection APIs such as bind/listen/accept/connect are used to establish a socket connection. In all respects, as far as the connection establishment is concerned, it is equivalent to a TCP stream socket connection. The SOCK_SEQPACKET socket connection has the below properties: The TCP stream socket […]