Now consider being given a socket wrench.
现在设想一下使用一个套筒扳手。
The data is received through a socket object.
数据接收通过一个套接字对象完成。
The bind method takes a socket address as its argument.
方法bind将一个套接字地址作为其参数。
When a socket connects, append the socket object to an array.
当一个套接字进行连接时,将该套接字对象附加到一个数组。
The MessageServer detects a socket connection from the client.
MessageServer检测来自客户机的套接字连接。
One way of reducing the server load is to use a socket server.
减少服务器负载的一种方式是使用一个socket服务器。
Consider the example of a socket send function shown in Listing 1.
考虑清单1显示的例子,一个套接字send函数。
The permission we lack is to create a socket of type SOCK_RAW.
我们缺少创建套接字类型 SOCK_RAW 的权限。
Backlog is the queue limit for the number of connections on a socket.
backlog是套接字上的连接数的队列限制。
Communication through the network stack takes place with a socket.
通过网络栈进行的通信都需要对socket进行操作。
It has a socket in its bonnet and needs to be recharged every 100 miles.
它的发动机盖下有插座,每100英里需要充电一次。
This state keeps a socket around for two to four minutes after its close.
该状态在套接字关闭后约保留2到4分钟。
Too big a socket, and those hard plastic discs, ungripped, simply fall out.
耳朵孔太大,那些硬硬的塑料耳塞很容易掉出来。
Searchd communicates to applications through a socket connection on port 3312.
Searchd将在端口3312上通过套接字连接与应用程序进行通信。
The bind system call associates a local network transport address with a socket.
bind系统调用将本地网络传输地址与套接字关联。
But if you try to send binary data over a socket, it becomes much more complicated.
但是如果试图在一个套接字上发送二进制数据,事情将会变得更加复杂。
The first one, socket_setup(), returns a socket which is ready to accept connections.
第一个子程序 socket_setup() ,它返回一个准备接受连接的套接字。
The key to success with a socket wrench is pattern matching: The socket must match the nut.
成功使用套筒扳手的关键在于模式匹配:套筒扳手必须与螺母相匹配。
Using a simple analogy, you can think of an extension as a plug and an extension point as a socket.
使用一个简单的类比,您可以把扩展视为插头并把扩展点视为插座。
Listing 1 explores a function snippet that performs a socket send (sending data through a socket).
清单1探究一个函数片断,它完成套接字send操作(通过套接字发送数据)。
You can use the bind API function to bind an address (an interface and a port) to a socket endpoint.
您可以使用bindapi函数来绑定一个地址(一个接口和一个端口)到一个套接字端点。
The address of a socket is a combination of the host's IP address (or hostname) plus a port number.
套接字的地址由主机的IP地址(或主机名)和端口号组成。
Each socket has a socket queue, and each interface has an interface queue used for data communication.
每个套接字具有一个套接字队列,并且每个接口具有一个用于数据通信的接口队列。
Listing 2 shows an example of how to launch a VM in debug mode and listen for a socket connection at port 8765.
清单2是一个示例,显示如何在调试模式下启动VM并监听端口8765的套接字连接。
The TCP/IP state diagram is helpful in understanding the different states a socket can exist in at any given time.
TCP/IP状态图表可以帮助了解套接字在任何给定的时间存在的不同状态。
In TCP, a connection refers to a channel between two endpoints (in this case, a socket between the interfaces of two hosts).
在TCP中,连接(connection)是指两个端点之间的一个通道(在这种情况下,就是两台主机的网络接口之间的一个套接字)。
This model gives you access to the intermediate results, which is great when you want to flow data to a socket or file system.
这个模型允许您访问处理过程中的中间状态,当您希望向socket或文件系统输送数据时会发现这一点非常有用。
Because it requires you only to open a socket using, say, Telnet, a client using any language can communicate with the JMS broker.
因为它只要求打开一个套接字(比如使用telnet),所以使用任何语言的客户机都能够与JMS代理进行通信。
For example, a connector could be a socket, be synchronous or asynchronous, be associated with a particular protocol, and so on.
例如,连接段可以是套接字,同步的或异步的,与某个协议相关等。
Descriptors might represent a connection to a device, pipe, or a socket for communicating with another process or to a normal file.
描述符可以表示到设备、管道或套接字的连接,这些连接用于与另一个进程或普通文件进行通信。
应用推荐