Added NetLogServer class
This commit is contained in:
parent
0dfd6cc049
commit
4360a11357
7 changed files with 68 additions and 20 deletions
|
|
@ -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();
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue