Added NetLogServer class

This commit is contained in:
Ziver Koc 2013-05-07 16:19:47 +00:00
parent 0dfd6cc049
commit 4360a11357
7 changed files with 68 additions and 20 deletions

View file

@ -81,6 +81,7 @@ public abstract class ThreadedTCPNetworkServer extends Thread{
else{
ss = new ServerSocket( port );
}
logger.info("Listening for TCP Connections on port: "+port);
while(true){
Socket s = ss.accept();

View file

@ -49,7 +49,7 @@ public class ThreadedUDPNetwork extends Thread{
protected ThreadedUDPNetworkThread thread = null;
/**
* Creates a new unicast Clien instance of the class
* Creates a new unicast Client instance of the class
*
* @param thread is the class that will handle incoming packets
* @throws SocketException