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).
当一端对一个套接字执行写操作时,可确保对等端读出的数据大小与此相同(请参见图5)。
2
Listing 5 shows part of the definition of the source named catalog - the snippet specifies which database to connect to and how to make a connection (host, socket, user, and password).
By contrast, PC keyboards are not only cheap, stable and reliable but also a kind of coded keyboard which can be scanned and send the scan code via a standard 5 core socket automatically.