Unix socket, SOCK_SEQPACKET vs SOCK_DGRAM

前端 未结 5 1934
一生所求
一生所求 2021-02-01 12:36

It seems there\'s atleast 3 different local/unix socket types (AF_UNIX) , SOCK_STREAM, SOCK_DGRAM and SOCK_SEQPACKET.

<
5条回答
  •  南方客
    南方客 (楼主)
    2021-02-01 13:02

    Like TCP and UDP sockets, there are SCTP(stream control transmission protocol) sockets which has two forms, (one to one) and (one to many) between endpoints. One to one uses SOCK_STREAM and one to many uses SOCK_SEQPACKET

提交回复
热议问题