client and server with pingpong function, tested in glass.clear.rice.edu