Home Forums Support Confused Reply To: Confused

#1074
Anonymous
Inactive

Windows 8.0.
Building in VS2010 express.

I download the zip file called ClientServerExample.zip, unzip and then try to run the prebuilt exes. I also compile the source code to run. I touch nothing with the source code.

Error in client:
Error during TCP connection establish with destination ([TCP] Local -> 127.0.0.1:10000). Destination may not be listening or connect timed out. System.Net.Sockets.SocketException (0x80004005): No connection could be made because the target machine actively refused it 127.0.0.1:10000
at System.Net.Sockets.Socket.EndConnect(IAsyncResult asyncResult)
at System.Net.Sockets.TcpClient.EndConnect(IAsyncResult asyncResult)
at NetworkCommsDotNet.TCPConnection.ConnectTCPClient()

Error occurs at:
NetworkComms.SendObject(“Message”, serverIP, serverPort, messageToSend);

Error in Server:
The requested address is not valid in its context
Error occurs at:
TCPConnection.StartListening(true);