80 |
|
while(run){ |
81 |
|
Socket hostSocket=null; |
82 |
|
try{ |
83 |
< |
_logger.write(toString(), Logger.SYSMSG, "Waiting for Connection"); |
83 |
> |
_logger.write(toString(), Logger.DEBUG, "Waiting for Connection"); |
84 |
|
// This will block until a host connects - at which point we get a Socket |
85 |
|
hostSocket = listenPort.accept(); |
86 |
< |
_logger.write(toString(), Logger.SYSMSG, "Connection accepted from: " + hostSocket.toString()); |
86 |
> |
_logger.write(toString(), Logger.DEBUG, "Connection accepted from: " + hostSocket.toString()); |
87 |
|
} |
88 |
|
catch(IOException e){ |
89 |
|
// Something went wrong with the ServerSocket, so we'll stop listening |