The bind method takes a socket address as its argument.
方法bind将一个套接字地址作为其参数。
Creates a socket address from a hostname and a port number.
根据主机名和端口号创建一个套接字地址。
Creates a socket address from an IP address and a port number.
根据IP地址和端口号创建一个套接字地址。
Create a MulticastSocket bound to the specified socket address.
创建一个绑定在指定套接字地址的多播套接字。
This class represents a Socket Address with no protocol attachment.
该类表示没有协议附加的套接字地址。
Creates a socket address where the IP address is the wildcard address and the port number a specified value.
创建一个套接字地址,其IP地址为掩码地址,端口号为指定值。
The pointer should be moved adequately depending on the length of socket address as populated in the structure after the call.
根据调用之后该结构中填充的套接字地址的长度,可以对这个指针进行移动。
There are several other ways of initiating IPC using ACE, like shared memory or UNIX-style socket addressing (the ACE_LSOCK* group of classes), which this article does not address.
还有使用ACE 实现IPC的其他方法,比如共享内存或UNIX 风格的套接字寻址(ACE_LSOCK*组中的类)。
On AIX a process is a collection of information about OS-controlled resources (such as file and socket information), a virtual address space, and at least one thread of execution.
在AIX 上,进程是关于OS 控制资源(比如文件和套接字信息)、虚拟地址空间以及至少一个执行线程的一系列信息。
You need to create a server socket that can accept connections at a predefined address.
您需要创建一个服务器套接字,接收预先指定地址的连接。
Here, I've bound the server socket at the localhost: 20340 address.
在这里,我将服务器套接字绑定到localhost: 20340这一地址。
Run KDB and issue sockinfo on the address for the socket in question.
运行kdb并对感兴趣的套接字的地址执行sockinfo。
You can use the bind API function to bind an address (an interface and a port) to a socket endpoint.
您可以使用bindapi函数来绑定一个地址(一个接口和一个端口)到一个套接字端点。
There are only two steps required to address the issue that proxy.soap.GoogleSearchProxy cannot open a socket to Google.
解决proxy . soap . GoogleSearchProxy无法打开到Google的套接字这一问题仅需要两个步骤。
After you have applied the SO_REUSEADDR socket option, the bind API function will always permit immediate reuse of the address.
在应用了SO_REUSEADDR选项之后,bindapi函数将允许地址的立即重用。
After the TIME_WAIT state has exited, the socket is removed, and the address can be rebound without issue.
在TIME_WAIT状态退出之后,套接字被删除,该地址才能被重新绑定而不出问题。
The address of a socket is a combination of the host's IP address (or hostname) plus a port number.
套接字的地址由主机的IP地址(或主机名)和端口号组成。
In the case of explicit binding, checks are performed on the IP address being bound, and the socket options are set accordingly.
对于显式绑定,在绑定的IP地址上执行检查,并相应设置套接字选项。
The bind system call associates a local network transport address with a socket.
bind系统调用将本地网络传输地址与套接字关联。
A convenient way to find a free port is to pass in a null address, which automatically binds the socket to the local host address and USES a free ephemeral port.
找到空闲端口的便利方法是传递一个null地址,它会自动将套接字绑定到本地主机地址,并使用空闲的临时端口。
Listing 3. Avoiding the "Address in USE" error using the SO_REUSEADDR socket option.
清单3.使用SO_REUSEADDR套接字选项避免地址使用错误。
The address of a socket in the Internet domain consists of the Internet address of the host machine (every computer on the Internet has a unique 32 bit address, often referred to as its IP address).
互联网模式的地址格式是一个机器地址(一般是使用32字节代表的IP地址)。
Returns the local address of this server socket.
返回此服务器套接字的本地地址。
Sets or clears the SO_BROADCAST socket option. When this option is set, UDP packets may be sent to a local interface's broadcast address.
设置或者清除套接字的SO_BROADCAST(广播)选项。当该设置生效时,UDP数据包将被发送至本地网络接口的广播地址。
This paper has analysed some important concept in UNIX socket programing. These concepts touch upon socket creating, transport layer port, protocol address, socket function call, etc.
本文对套接口编程中的一些核心概念进行了分析。这些概念涉及到套接口的建立机制、传输层端口号、协议地址、套接口系统调用函数调用等概念。
Uses the IP address and port number to establish a socket connection.
下面的示例使用IP地址和端口号与远程主机连接。
An IPAddress object is used to represent a single IP address. This value is then used in various socket methods to represent the IP address.
一个IP地址对象用来表示一个单一的IP地址,其值同时也可以应用在许多不同的方法里面。
Automatic access to the local computer name or IP address, you can also get the use of data socket communication needs of URL.
自动获取本机的计算机名称或IP地址,还可以获取利用datasocket通信需要的URL。
Server using multithreading services will best address SOCKET request.
服务端采用多线程服务,能最好的处理SOCKET请求。
Server using multithreading services will best address SOCKET request.
服务端采用多线程服务,能最好的处理SOCKET请求。
应用推荐