Prev
11. Threads
Next
13. JDBC

12. exercise: Networking

  1. Review presentation Networking

      

  2. Investigate jtm.activity12 package
  3. Implement class ChatServer to pass unit tests
  1. Server could be checked using telnet program, e.g. following:

    telnet 127.0.1.1 9999
  2. To check if server is listening on necessary port, run command:

    netstat -antp|grep 9999
  3. If necessary, server can be killed with command:

    kill -9 pid
    wher pid is process id from the previous command

Extra exercise

  1. Investigate package jtm.extra07
  2. Implement ChatClient class to pass unit tests

Additional info (in Latvian)

Prev
11. Threads
Next
13. JDBC
Tags:
Created by Valdis Vītoliņš on 2017-01-03 10:07
Last modified by Valdis Vītoliņš on 2017-08-31 18:45
 
Xwiki Powered
Creative Commons Attribution 3.0 Unported License