JavaNetworkProgramming chapter 1 1-1 example