1. What is the difference between the ServerSocket class and the Socket class in Java?
2. We say that in network programming a socket should be at least bound to a local socket address. The first constructor of the DatagramSocket class (see Table 25.10) has no parameters. Can you explain how it is bound to the local socket address when used at the client site?