Modified the toString() for UdpEndpoint to include

the address instead of the socket... since they all share
the same socket anyway and the datagram sockets don't 
have useful toString()s.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7256 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
3.0
PSp..om 14 years ago
parent 5225599ee2
commit e298a4357e
  1. 2
      engine/src/networking/com/jme3/network/kernel/udp/UdpEndpoint.java

@ -132,6 +132,6 @@ public class UdpEndpoint implements Endpoint
public String toString()
{
return "UdpEndpoint[" + id + ", " + socket + "]";
return "UdpEndpoint[" + id + ", " + address + "]";
}
}

Loading…
Cancel
Save