Saturday, July 17, 2010

C

Port Check Program (in C) Part 1

Many programs exist that have the need to check the status of a port for one reason or another. In the least simply pre-checking for an open port can save a great deal of time for a program (especially if it relies upon default timing when doing the real connection). Recently I had the need to write a sort of pre-check program that would see if a port was open and could be accessed over the network. This series examines the rapid prototyping I ended up doing to get the program from a to z. It is designed for those who simply need or want to know how to do this sort of thing. This particular example is done in C, however, there might be follow on texts that tackle the task in other languages.

參考來源:

"Port Check Program (in C) Part 1 Many programs exist that have the need to check the status of a port for one reason or another. In the least simply pre-checking for an open port can save a great deal of time for a program (especially if it relies upon default timing when doing the real connection). Recently I had the need to write a sort of pre-check program that would see if a port was open and could be accessed over the network."
- Port Check Program Part 1 (在「Google 網頁註解」中檢視)

No comments: