Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
windows socket programming
Name: Programming Learner Date: November 1, 2002 at 07:47:27 Pacific OS: winXP home ed CPU/Ram: Pen3 1G
Comment:
Hi, since I am not a expert programmer, I need a clear explanation for windows socket programming with Visual C++ 6.0.
I wanna write a program to close the current open ports with VC6.0. I know how to call closesocket() function, but I am not sure how to define the port to close.
Also want to know if there is any difference for the programming codes to close ports between TCP and UDP..
Please let me know some tips. I really aapreciate your help and easy explanations!!
Name: tru Date: November 1, 2002 at 09:31:54 Pacific
Reply:
If a port is opened by another process I don't think you can get permission to actually close it. If you are concerned with security then see about getting a firewall.
0
Response Number 2
Name: mm_freak Date: November 2, 2002 at 10:42:04 Pacific
Reply:
Closing ports? Maybe you should get a socket tutorial first. (By the way, UDP is a connectionless protocol, you can't close anything but the socket)
Summary: I have been looking all over the web for information on windows sockets programing. While there is tons of stuff, it all seems to be more complicated than it needs to. I have never programed socket ...
Summary: Hello: I have found many good example for socket programming under linux, but i'd like to extend this to windows. Does anybody know where i can find some good info and examples on socket programming f...