当它们其中一个收到数据时,就会将数据写到另一个套接字。
When either of them receives data, it writes the data to the other socket.
当它们其中一个收到数据时,就会将数据写到另一个套接字。
When either of them receive data, it writes the data to the other socket.
它基于您已经积累的套接字对象列表进行迭代,并给它们全部发送相同的数据。
It iterates over the list of socket objects you have been accumulating and sends the same data to them all.
但是如果试图在一个套接字上发送二进制数据,事情将会变得更加复杂。
But if you try to send binary data over a socket, it becomes much more complicated.
当客户端写入它们的连接时,将该数据写到所有的套接字。
When the client writes to their connection, write that data to all sockets.
尽管JSSE确实会自动启动握手,但是仅当数据首次通过套接字发送时它才这样做。
While JSSE does start the handshake automatically, it only does so when data is first sent across the socket.
然后由内核将数据拷贝到与输出套接字相关联的内核缓冲区。
Then the data is copied by the kernel into the kernel buffer associated with the output socket.
这些连接是可用的,但是要对消息流进行解释,直到数据达到要进行处理的套接字。
These connections will be available, but the flow is paused until data arrives on the socket to be processed.
如果这些技术能够通过服务器打开套接字,如果它们能够传输XML数据,我们的任务就完成了。
If these technologies could open a socket with the server and if they can transfer XML data, you're done.
数据的第三次复制发生在dma引擎将数据从内核套接字缓冲区传到协议引擎时。
The third copy happens as the DMA engine passes the data from the kernel socket buffers to the protocol engine.
取而代之的是,只有包含关于数据的位置和长度的信息的描述符被追加到了套接字缓冲区。
Instead, only descriptors with information about the location and length of the data are appended to the socket buffer.
使用零拷贝的应用程序要求内核直接将数据从磁盘文件拷贝到套接字,而无需通过应用程序。
Applications that use zero copy request that the kernel copy the data directly from the disk file to the socket, without going through the application.
如果您使用的是套接字通信,则必须完全负责定义要传输的数据结构。
If you are using socket communication, you are fully responsible for defining the structure of data to be transferred.
这是因为大多数套接字操作都是异步地进行的,其中套接字进行轮询以检查数据是否出现,而不是使得应用程序处于阻塞(等待)状态以等待响应。
This is because most socket operations are made asynchronously in that the socket is polled to see if data is present rather than having the application block (wait) for the response.
TCS要求控制关键系统资源的分配和释放,包括数据库记录、通信套接字、安全密钥,等等。
The TCS requires control over the allocation and release of key system resources, including database records, communication sockets, security keys, etc.
它会通过套接字连接将数据发送给其他节点,然后接收响应,它会发出提交命令,这个命令实际上会更新这些节点。
This sends the data via socket connections to other nodes and upon receiving the response, it issues the commit which actually updates the nodes.
FIN说明这个端点不会再发送数据,但是在这一端关闭自己这端的套接字之前,它一直可以继续传输数据。
The FIN indicates that no more data is to be sent by this endpoint, but until the peer closes its end of the socket, it may continue to transmit data.
每个套接字具有一个套接字队列,并且每个接口具有一个用于数据通信的接口队列。
Each socket has a socket queue, and each interface has an interface queue used for data communication.
应用程序实际上在这里担当了一个不怎么高效的中介角色,将磁盘文件的数据转入套接字。
In effect, the application serves as an inefficient intermediary that gets the data from the disk file to the socket.
处理风险信息所需的外部信息常常通过与数据收集机构的同步套接字通信获取。
The external information needed to process risk information is most commonly acquired through synchronous socket communication with data collection agencies.
当一端对一个套接字执行写操作时,可确保对等端读出的数据大小与此相同(请参见图5)。
When a peer performs a write on a socket, it is guaranteed that this same-sized chunk of data will be read at the peer endpoint (see Figure 5).
在接收带区外数据的情况下,协议层检查不同的条件,以验证接收的数据是否为带区外数据,然后将其返回到套接字层。
In the case of receiving out-of-band data, the protocol layer checks for different conditions to validate that the received data is OOB, and then returns it to the socket layer.
数据未被拷贝到套接字缓冲区。
数据可以直接从读取缓冲区传输到套接字缓冲区。
Instead, the data could be transferred directly from the read buffer to the socket buffer.
数据接收通过一个套接字对象完成。
这两个套接字分别处理一个事件:接收到的数据。
除了这些强制性的协议,设备制造商可能会选择支持更多的通信协议,如数据包或者套接字。
In addition to these mandated protocols, a device manufacturer can choose to support additional communication protocols such as datagrams or sockets.
如果在读的时候,数据尚未完全到达套接字,则线程将在读操作上阻塞,一直到数据可用。
If during a read, data has not completely arrived at the socket, the thread will block on the read operation until all the data is available.
由于API的级别很低,因此套接字编程不适于处理复杂的数据类型。
Because the API is low level, socket programming isn't suitable for dealing with complex data types.
由于API的级别很低,因此套接字编程不适于处理复杂的数据类型。
Because the API is low level, socket programming isn't suitable for dealing with complex data types.
应用推荐