当它们其中一个收到数据时,就会将数据写到另一个套接字。
When either of them receives 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.
尽管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.
数据未被拷贝到套接字缓冲区。
除了这些强制性的协议,设备制造商可能会选择支持更多的通信协议,如数据包或者套接字。
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.
完成之后,连接即建立,这个套接字现在即可用于从服务器推送数据。
When that's complete, the connection is established, and this socket can now be used to push data from the server.
这是类似于其他关系数据库的标准客户机/服务器数据库配置,允许出现使用TCP套接字的并发连接。
This is the standard client/server database configuration similar to other relational databases, allowing concurrent connections using TCP sockets.
这些因素包括检索的数据量、报告所需的格式化量,以及保持通信套接字处于激活状态。
The factors include such things as the amount of data being retrieved, the amount of formatting that needs to be done to the report and keeping communications sockets active.
协议栈的UDP层追踪写的数量,并确保当右边的接收者通过套接字获取数据时,它以同样数量的字节到达。
The UDP layer of the stack keeps track of the quantities of the writes and ensures that when the receiver on the right gets the data through the socket, it arrives in the same quantities.
当一端关闭自己的套接字时(导致产生一个SHUTDOWN原语),对等的两端全部需要关闭,将来任何一端都不允许再进行数据的移动了。
When a peer closes its socket (resulting in the issuance of a SHUTDOWN primitive), both endpoints are required to close, and no further data movement is permitted in either direction.
当一端关闭自己的套接字时(导致产生一个SHUTDOWN原语),对等的两端全部需要关闭,将来任何一端都不允许再进行数据的移动了。
When a peer closes its socket (resulting in the issuance of a SHUTDOWN primitive), both endpoints are required to close, and no further data movement is permitted in either direction.
应用推荐