Committing something for testing... may revert.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7037 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
This commit is contained in:
parent
b73f71aeff
commit
17ecd6f0c9
@ -67,11 +67,13 @@ public class UdpConnector implements Connector
|
||||
public UdpConnector( InetAddress local, int localPort,
|
||||
InetAddress remote, int remotePort ) throws IOException
|
||||
{
|
||||
this.sock = new DatagramSocket( localPort, local );
|
||||
InetSocketAddress localSocketAddress = new InetSocketAddress(localPort);
|
||||
this.sock = new DatagramSocket( localSocketAddress );
|
||||
//this.sock = new DatagramSocket( localPort, local );
|
||||
remoteAddress = new InetSocketAddress( remote, remotePort );
|
||||
|
||||
// Setup to receive only from the remote address
|
||||
//sock.connect( remoteAddress );
|
||||
sock.connect( remoteAddress );
|
||||
//
|
||||
// The above is a really nice idea since it means that we
|
||||
// wouldn't get random datagram packets from anything that
|
||||
|
Loading…
x
Reference in New Issue
Block a user