Hi all, having problems connecting with a client socket (PPC) to my server socket (PC, 192.168.1.81)... Here's a code snipet:
it simply returns "No connection could be made because the target machine actively refused it" which is the same as if it wasn't connected.
I've tried using vxUtil to ping the PC but that fails aswell... its as though there is not 'normal' TCP/IP connection, when connected via ActiveSync?
Any help or pointer would be much appreciated!
Mike
PS the same code works fine (PC -> PC)
VB.NET:
_RemoteEP = New IPEndPoint("192.168.1.81", 5700)
_Socket = New Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.Tcp)
_Socket.Connect(_RemoteEP)
it simply returns "No connection could be made because the target machine actively refused it" which is the same as if it wasn't connected.
I've tried using vxUtil to ping the PC but that fails aswell... its as though there is not 'normal' TCP/IP connection, when connected via ActiveSync?
Any help or pointer would be much appreciated!
Mike
PS the same code works fine (PC -> PC)