Connection.StartListening(ConnectionType.TCP, new IPEndPoint(IPAddress.Parse(“x.x.x.x”), 10000));
The server always got exception:
Error during TCP connection establish with destination ([TCP-E-S] 0.0.0.0:0 -> y.y.y.y:10000).
Destination may not be listening or connect timed out. NetworkCommsDotNet.ConnectionSetupException: Timeout waiting for remoteEndPoint to accept TCP connection.
The code looks incorrect, you send a message to ‘y.y.y.y’, yet the StartListening method, listens to messages recieved on (!not from!) ‘x.x.x.x’. I suspect StartListening is executed on ‘y.y.y.y’ and this is what causes the problem.
This reply was modified 7 years, 7 months ago by .