I wrote my first Java socket client/server application in 1993! So this code looks mighty familiar. ... ...
systembash.com