Package java.net

Class Summary
DatagramPacket This class represents a datagram packet.
DatagramSocket This class represents a socket for sending and receiving datagram packets.
InetAddress  
ServerSocket  
Socket  
 

Exception Summary
SocketException Thrown to indicate that there is an error in the underlying protocol, such as a TCP error.
UnknownHostException