a simple tcp test program