[java] public void read(SelectableChannel channel) throws IOException {
DatagramChannel socketChannel = (DatagramChannel)channel;
InetSocketAddress address = (InetSocketAddress)datagramChannel.receive(readBuffer);
if (address == null){
System.out.println("Address is NULL!"); // <<<<<<<<<<
return;
}[/java]
This line was added in revision 6647 by Shadowislord to UDPConnection.java. Can we please get that removed or added to logging? My console is flooded with these messages whenever a user disconnects.
I added this message because the network system fails to disconnect a user properly if he quits the application unexpectedly …
Hopefully we’ll get this issue fixed since thats where it happens.
But for now I’ll disable this message
Thanks!