Writing a Simple Portcheck program in C Part 3
In part 1 an examination of creating an ultra simple single port single host port check program was done. In the second part of the series the code was broken out between a header file and source file, input validation added, a usage message defined and a Makefile was setup for simple recompiling. In this part of the series one of the items of the TODO list will be tackled: smaller timeout value for connection test by way of a host pre-check. Which leaves the program with two final TODO items for the next installment: - Breaking up the program functionally
- Detailed error handling
- Hostname resolution (or not)
- Any last minute details...
Text
|
|
In part 1 an examination of creating an ultra simple single port single host port check program was done. In the second part of the
series the code was broken out between a header file and source file,
input validation added, a usage message defined and a Makefile
was setup for simple recompiling. In this part of the series one of the items
of the TODO list will be tackled:
smaller timeout value for connection test by way of a host pre-check.
Which leaves the program with two final TODO items for the next
installment:
- Breaking up the program functionally
- Detailed error handling
- Hostname resolution (or not)
- Any last minute details...
Text
Full Story |
This topic does not have any threads posted yet!
You cannot post until you login.