Computing.Net > Forums > Programming > windows socket programming

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

Reply to Message Icon

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!!



Sponsored Link
Ads by Google

Response Number 1
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)


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: windows socket programming

Windows socket programming www.computing.net/answers/programming/windows-socket-programming/5311.html

Windows Sockets www.computing.net/answers/programming/windows-sockets/9411.html

socket programming in windows www.computing.net/answers/programming/socket-programming-in-windows/2713.html