• Creates an unbound server socket.

    创建无绑定服务器套接字。

    youdao

  • Returns the local address of this server socket.

    返回此服务器套接字的本地地址。

    youdao

  • Creates a server socket, bound to the specified port.

    在指定端口创建服务器套接字。

    youdao

  • Here, I've bound the server socket at the localhost: 20340 address.

    在这里,我将服务器套接字绑定到localhost: 20340这一地址。

    youdao

  • Sets the server socket implementation factory for the application.

    设置应用程序的服务器套接字实现工厂。

    youdao

  • The last housekeeping job is to bind to a server socket on the desired port number.

    最后一个内部处理作业是以期望端口号绑定到服务器套接字上。

    youdao

  • You need to create a server socket that can accept connections at a predefined address.

    您需要创建一个服务器套接字,接收预先指定地址的连接。

    youdao

  • The call to accept blocks until the server socket accepts a client request for connection.

    对accept的调用将一直阻塞,直到服务器套接字接受了一个请求连接的客户机请求。

    youdao

  • When a client connects to the server socket, it will give me a socket representing that connection.

    当一个客户端连接到该服务器套接字时,它将为我提供一个套接字,显示连接。

    youdao

  • The socket class provides a means to read and write binary data to server sockets in any format.

    socket类提供了以任何格式对服务器套接字读写二进制数据的方法。

    youdao

  • Creates a server socket and binds it to the specified local port number, with the specified backlog.

    创建服务器套接字并绑定在指定端口,使用指定的队列长度。

    youdao

  • 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的一对一的套接字)。

    youdao

  • If the socket does not exist, or cannot be opened, the client attempts to spawn a server.

    如果该套接字不存在,或者不能打开,客户端将尝试不停地访问服务器。

    youdao

  • The server end of the socket is created on the machine where the server application is running and given a port, and it then listens on this port for a connection from a client application.

    套接字的服务器端是在运行服务器应用程序的机器上创建的,服务器应用程序获得一个端口并在该端口上侦听来自客户端应用程序的连接。

    youdao

  • Waiting for TIME_WAIT to finish can be annoying, especially if you're developing a socket server and you need to stop the server to make changes and then restart it.

    等待TIME_WAIT结束可能是令人恼火的一件事,特别是如果您正在开发一个套接字服务器,就需要停止服务器来做一些改动,然后重启。

    youdao

  • The client will wait for a response, but if the other end of the socket goes away, the client then tries again to start the server.

    然后客户机会等待响应,但是,如果套接字的另一端没反应,客户机会再次尝试启动服务器。

    youdao

  • The output stream of the socket becomes the input stream to the server application and vice-versa.

    套接字的输出流将成为服务器应用程序的输入流,反之亦然。

    youdao

  • The client writes a message to the socket, the server processes the message and writes its response back with type PSEUDO_MSG_ACK.

    客户端编写一条到该套接字的消息,服务器处理该消息并编写类型为PSEUDO_MSG_ACK的响应。

    youdao

  • When that's complete, the connection is established, and this socket can now be used to push data from the server.

    完成之后,连接即建立,这个套接字现在即可用于从服务器推送数据。

    youdao

  • It greatly simplifies and streamlines network programming such as TCP and UDP socket server.

    它极大简化了网络编程,如TCP和UD P套接字服务器。

    youdao

  • The socket state on the server side now is SYN_RCVD.

    服务器端的套接字状态现在是SYN_RCVD。

    youdao

  • To establish a WebSocket connection, the client and server upgrade from the HTTP protocol to the Web Socket protocol during an initial handshake, as shown in Example 1.

    要建立一个WebSocket连接,客户端和服务器在初次握手的时候从HTTP协议提升到WebSocket协议,如例1所展示的。

    youdao

  • Whenever this socket object reads data from the server, it will fire an onData event that will be handled by the handler defined for onData.

    只要此套接字对象读取到来自服务器的数据,就会触发ondata事件,该事件将由为onData定义的处理方法处理。

    youdao

  • The listen call indicates to the protocol that the server process is ready to accept any new incoming connections on the socket.

    listen调用指示协议,服务器进程准备接受套接字上任何新传入的连接。

    youdao

  • This method constructs a socket targeted to the TCP server on the localhost at a host number known both to the client and server through URIConstants.

    此方法将通过URIConstants在客户机和服务器已知的主机编号上构造一个套接字,该套接字以本地主机上的TCP服务器为目标。

    youdao

  • One way of reducing the server load is to use a socket server.

    减少服务器负载的一种方式是使用一个socket服务器。

    youdao

  • You want to emulate a socket server you temporarily do not have, and you want to keep traffic from the server low and improve response time from the client side.

    此时,我们需要模拟目前暂时不可用的socket服务器,并且想要让来自服务器的流量保持很低并能够改进来自客户机端的响应时间。

    youdao

  • Events pushed from the server side need a permanent or long-lasting socket connection between the clients and server.

    从服务器端推出的事件需要客户机和服务器间存在一个永久或长久的socket连接。

    youdao

  • You must ensure that chat clients can establish a permanent connection to the socket server to listen for chat messages.

    为了侦听聊天消息,必须确保聊天客户机能够建立与此socket服务器的永久连接。

    youdao

  • This is important because multiplexing I/O only proves beneficial when the server is required to handle a large number of open socket connections.

    这是重要的,因为多路复用I/O只证明在要求服务器处理大量打开的scoket 连接时是有意的。

    youdao

$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定