Exercises

24.3Distinguish between connection-oriented and connectionless network services.
24.4How does a client determine the host name of the client computer?
24.5Under what circumstances would a SocketException be thrown?
24.6How can a client get a line of text from a server?
24.7Describe how a client connects to a server.
24.8Describe how a server sends data to a client.
24.9Describe how to prepare a server to receive a stream-based connection request from a single client.
24.10How does a server listen for streams-based socket connections at a port?
24.11What determines how many connect requests from clients can wait in a queue to connect to a server?
24.12As described in the text, what reasons might cause a server to refuse a connection request ...

Get Java™ How to Program, Seventh Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.