In the client, I create an SCTP socket, then create a sockaddr structure containing the endpoint to which it will connect.
在客户机中,我们首先创建了一个SCTP套接字,然后创建了一个sockaddr结构,其中包含了将要连接的端点。
I then create a sockaddr structure, specifying that connections are permitted from any local interface (using the wildcard address INADDR_ANY).
然后创建一个sockaddr结构,指定这个连接可以从任何本地接口上创建(使用通配符地址INADDR_ANY)。
The second record type is the SOCKADDR record, which shows the host by IP address and the port used.
第二个记录类型是SOCKADDR记录,它以IP地址和所使用的端口形式给出了主机。
The second record type is the SOCKADDR record, which shows the host by IP address and the port used.
第二个记录类型是SOCKADDR记录,它以IP地址和所使用的端口形式给出了主机。
应用推荐