javax.net

Classes

ServerSocketFactory This class creates server sockets. 
SocketFactory This class creates sockets.