taybill
07-15-2010, 05:37 PM
I am writing a client application.
The server can support only one client on a port. The last client who
made a connection "wins".
I want to avoid establishing a connection if another client (on the same machine I'm on) is already using the port.
Is there any way to determine if the port is already being used by a different client WITHOUT making a connection?
The server can support only one client on a port. The last client who
made a connection "wins".
I want to avoid establishing a connection if another client (on the same machine I'm on) is already using the port.
Is there any way to determine if the port is already being used by a different client WITHOUT making a connection?