端口号为0意味着系统在绑定操作时选择一个临时端口。
A port number of zero will let the system pick up an ephemeral port in a bind operation.
这意味着阻塞这个临时端口上的外发通信会阻断诸如ssh之类的常用客户机程序。
This means that blocking outbound communication on ephemeral ports will break commonly used client programs such as SSH.
缺省情况下,ORB侦听器端口是在运行时从平台的临时端口范围中动态地确定的。
ORB listener ports are, by default, dynamically determined from the platform’s ephemeral port range at run time.
这些新兴的应用所使用的端口号是不规则的,许多业务流使用一个大于1024的临时端口号作为缺省端口。
These new applications use irregular port Numbers, and many of the new businesses traffic use a temporary port number which is greater than 1024 as the default port.
找到空闲端口的便利方法是传递一个null地址,它会自动将套接字绑定到本地主机地址,并使用空闲的临时端口。
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.
客户端不需要指定打开的端口,通常临时的、动态的分配一个1024以上的端口。
Clients do not need to specify the port to open, usually temporary, dynamically allocate a port above 1024.
客户端不需要指定打开的端口,通常临时的、动态的分配一个1024以上的端口。
Clients do not need to specify the port to open, usually temporary, dynamically allocate a port above 1024.
应用推荐