This code has been a useful source of networking examples. The route code was sdded much later to determine the host's address. It's addition probably makes the probram less portable.