A
aliahaider
Guest
I keep on getting the exception that server actively has refused the connection.
I have tried htons conversion on the server side for port and IP address but it failed the same way.
I tried it on the client side as well and I still see the failure.
The port is correct and the server is listening on the port based on the" netstat -an" output.
Firewall is turned off.
I have tried to use rawcapture to see what is going on with TCP 3 way handshake between the client and the server on the loop back interface and I am unable to capture any tcp sync, ack or rst packets when I try to establish the connection between c# client and C++ server.
While I can see these tcp packets on the loop back interface when the client is a C++ client running on the same machine and the same C++ server.
The C# and C++ clients both are launched under the same user name and the user has admin privileges.
Continue reading...
I have tried htons conversion on the server side for port and IP address but it failed the same way.
I tried it on the client side as well and I still see the failure.
The port is correct and the server is listening on the port based on the" netstat -an" output.
Firewall is turned off.
I have tried to use rawcapture to see what is going on with TCP 3 way handshake between the client and the server on the loop back interface and I am unable to capture any tcp sync, ack or rst packets when I try to establish the connection between c# client and C++ server.
While I can see these tcp packets on the loop back interface when the client is a C++ client running on the same machine and the same C++ server.
The C# and C++ clients both are launched under the same user name and the user has admin privileges.
Continue reading...