Atpakaļ
11. Threads
Tālāk
13. JDBC

12. exercise: Networking

  1. Review presentation Networking

      

  2. Investigate org.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 org.extra07
  2. Implement ChatClient class to pass unit tests

Additional info (in Latvian)

Atpakaļ
11. Threads
Tālāk
13. JDBC
Tagi:
Izveidojis Valdis Vītoliņš 2017-01-03 10:07
Pēdējais mainījis Valdis Vītoliņš 2017-08-08 14:07
 
Xwiki Powered
Creative Commons Attribution 3.0 Unported License