When binding a socket to a port, is there a way to test if the port is already used? (Apart from catching the resulting exception if it is...) Cheers Jesper