Published at LXer:
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
Read More...