socket test C programs

Aim

It was a day in Spring 2001. I have been away from programming for a while, and I felt my skills were degrading. I wanted to have something to touch in my free time. I wanted some C program which uses POSIX threads a lot. For this, I decided to use the sockets interface which are available on most UNIX systems to play around with TCP/IP networking.

Ideals

I wanted to keep everything simple, so that others who want some reference on how to do it will know how with reading the source, without too much pain. Keeping the source clean was one thing.

The reality

At this time the source is available from the software repository, as tcptests package. The license is GPL. Enjoy. The source tarball contains much excess material.

The outcome of this project

This project has finished and is now abandoned.

This project resulted in few programs that seem to be of useful value, like tcpproxy. I have used tcpproxy quite extensively in systems that I administer. The most important thing I gained through this project is the knowledge of a way to handle sockets in C.

The result, and outcome of this project is reflected in dmachinemon program, the beowulf monitor, which progressed to become DNAS, a parallel computing library.

This project itself is considered not useful by itself, and it is used in conjunction with other projects. However I do find tcpproxy to be quite useful. However there are so many projects under the same name...


Junichi Uekawa

$Id: tcptest.html.en,v 1.12 2003/01/27 13:28:36 dancer Exp $