|
|
Lab 5 -- TCP Sockets
TCP Sockets
- Work through the first five sections of this IBM tutorial on using sockets in Java.
(The original tutorial material can be accessed from IBM here)
Note
Requires the use of an IE browser for correct display.
- Implement a DateTime server and client. Consult your lecture notes
for details of how to do this.
- Design and implement a single threaded Hello server: On connection
the client sends the server a name protocol message as follows:
<name> CR LF
where <name> is any sequence of characters and spaces. The
server responds with:
Hello <name>, I'm your server CR LF
- Implement the Hello server with threads.
|