与TCP的情况不同,对于客户机还需要一个ACE_INET_Addr对象,它指定将发送和接收数据报的端口。
You also need an ACE_INET_Addr object for the client (unlike for TCP) specifying the port that will send and receive the datagrams.
服务器可以向特定地址和端口发送数据报,供客户端接收,如清单5所示。
The server can then send a datagram to the address and port for the client to receive, as shown in Listing 5.
EMS部署描述符扩展将发送方法(该方法的响应可能会延迟)和专门用来接收延迟响应的接收方bean的监听端口联系起来。
An EMS deployment descriptor extension associates the sending method (whose response might be delayed) with the listener port for the receiver bean that is dedicated to receiving late responses.
应用推荐