A tourniquet to steep the bleeding on the UDP side before

it gets replaced.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7003 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
3.0
PSp..om 14 years ago
parent ef77186386
commit 9bdaa48efa
  1. 2
      engine/src/networking/com/jme3/network/connection/UDPConnection.java

@ -156,7 +156,7 @@ public class UDPConnection extends Connection {
readBuffer.clear();
}
protected void send(SocketAddress dest, Object object) {
protected synchronized void send(SocketAddress dest, Object object) {
try {
Serializer.writeClassAndObject(writeBuffer, object);
writeBuffer.flip();

Loading…
Cancel
Save