How would I open some port(s) and listen but not accept any connections. Kind of like a firewall program. like port 80(http). So the user couldn't go to http's.
thanks
Thats funny
Printable View
How would I open some port(s) and listen but not accept any connections. Kind of like a firewall program. like port 80(http). So the user couldn't go to http's.
thanks
Thats funny
what u need to do is just not to listen to the port 80. or if you want to selectively let only some ip go thru, the winsock should have a connect event that will be trigger when user connect to your port. if you found that it's not support to connect to you, the close the connection immediately.
HTH
cksiow
http://vblib.virtualave.net - share our codes