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!
Available ports for server sockets
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Available ports for server sockets
Runtime Revolution Widgets, tutorials, tips & tricks and more!
http://runrevwidgets.com/wiki
http://runrevwidgets.com/wiki
Re: Available ports for server sockets
Hi ale870,
you could check "the opensockets()" before.
Best
Klaus
you could check "the opensockets()" before.
Best
Klaus
Re: Available ports for server sockets
Thank you, but that function works only to check which ports are open from RunRev self. If my browser web open some ports, I cannot check them.
Now I'm using the command (command line in Windows): netstat -an|find /i ":1027" where "1027" is the port I want to check, but I wanted to avoid to use command line.
Now I'm using the command (command line in Windows): netstat -an|find /i ":1027" where "1027" is the port I want to check, but I wanted to avoid to use command line.
Runtime Revolution Widgets, tutorials, tips & tricks and more!
http://runrevwidgets.com/wiki
http://runrevwidgets.com/wiki