Available ports for server sockets
Posted: Wed May 12, 2010 5:43 pm
Hello,
I'm working to create a server socket for a program, and I'm using "accept connections" to open server ports. The problem is that function open a port even if it is already busy!
How can I check if a port is busy or available?
Thank you for your help!
I'm working to create a server socket for a program, and I'm using "accept connections" to open server ports. The problem is that function open a port even if it is already busy!
How can I check if a port is busy or available?
Thank you for your help!