Writing a Simple Portcheck program in C Part 3

Posted by jayrfink on Aug 1, 2009 8:53 PM EDT
systhread; By Jason (Jay) R Fink
Mail this story
Print this story

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:

  1. Breaking up the program functionally
  2. Detailed error handling
  3. Hostname resolution (or not)
  4. 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:



  1. Breaking up the program functionally
  2. Detailed error handling
  3. Hostname resolution (or not)
  4. Any last minute details...


  Text

Full Story

  Nav
» Read more about: Story Type: Tutorial; Groups: Linux

« Return to the newswire homepage

This topic does not have any threads posted yet!

You cannot post until you login.