Package 

Object Sockets


  • 
    public class Sockets
    
                        

    Simple utility methods for working with network sockets for example, for finding available ports on localhost.

    Within this class, a TCP port refers to a port for a ServerSocket; whereas, a UDP port refers to a port for a DatagramSocket.