由于客户-服务器模式的通信是在套接字之间的,我们需要一对套接字地址(socket address):一个本地套接字地址和一个远程套接字地址。然而,我们需要以TCP/IP协议簇的标识符来定义套接字地址。
基于54个网页-相关网页
The bind method takes a socket address as its argument.
方法bind将一个套接字地址作为其参数。
The pointer should be moved adequately depending on the length of socket address as populated in the structure after the call.
根据调用之后该结构中填充的套接字地址的长度,可以对这个指针进行移动。
Creates a socket address from a hostname and a port number.
根据主机名和端口号创建一个套接字地址。
应用推荐