March 2005
Intermediate to advanced
1254 pages
104h 21m
English
SocketAddress
Instances of this abstract class are
opaque representations of network socket addresses. The only concrete
subclass in the core Java platform is
InetSocketAddress which represents an internet
address and port number. See InetSocketAddress.
Figure 12-18. java.net.SocketAddress
public abstract class SocketAddress implements Serializable { // Public Constructors public SocketAddress( ); }
InetSocketAddress
Too many methods to list.
DatagramPacket.getSocketAddress( ),
DatagramSocket.{getLocalSocketAddress( ),
getRemoteSocketAddress( )},
java.net.Proxy.address( ),
ServerSocket.getLocalSocketAddress( ),
Socket.{getLocalSocketAddress( ),
getRemoteSocketAddress( )},
java.nio.channels.DatagramChannel.receive( )