Here, I've bound the server socket at the localhost: 20340 address.
在这里,我将服务器套接字绑定到localhost: 20340这一地址。
The last housekeeping job is to bind to a server socket on the desired port number.
最后一个内部处理作业是以期望端口号绑定到服务器套接字上。
You need to create a server socket that can accept connections at a predefined address.
您需要创建一个服务器套接字,接收预先指定地址的连接。
The server begins in Listing 1 with the creation of the server socket (using IPPROTO_SCTP to create an SCTP one-to-one socket).
清单1中的服务器首先创建服务器的套接字(使用IPPROTO_SCTP来创建一个SCTP的一对一的套接字)。
Creates an unbound server socket.
创建无绑定服务器套接字。
Returns the local address of this server socket.
返回此服务器套接字的本地地址。
Creates a server socket, bound to the specified port.
在指定端口创建服务器套接字。
Sets the server socket implementation factory for the application.
设置应用程序的服务器套接字实现工厂。
Creates a server socket and binds it to the specified local port number, with the specified backlog.
创建服务器套接字并绑定在指定端口,使用指定的队列长度。
In this simple nonblocking server-socket example, the server reads a file name sent from the client, displays the file contents, and writes the contents back to the client.
在这个简单的非阻塞服务器-套接字示例中,服务器读取发送自客户机的文件名,显示该文件的内容,然后将内容写回到客户机。
In this simple nonblocking server-socket example, the server reads a file name sent from the client, displays the file contents, and writes the contents back to the client.
在这个简单的非阻塞服务器-套接字示例中,服务器读取发送自客户机的文件名,显示该文件的内容,然后将内容写回到客户机。
应用推荐