Socket Connect works on LAN but not WAN.
From: George Mitchell (peekandpoke_at_hotmail.com)
Date: 02/15/05
- Next message: Nathan Mellor: "Re: Simple Encryption in Compact Framework"
- Previous message: Alex Feinman [MVP]: "Re: How to play a wav file"
- Next in thread: Koen Mannaerts: "Re: Socket Connect works on LAN but not WAN."
- Reply: Koen Mannaerts: "Re: Socket Connect works on LAN but not WAN."
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 14 Feb 2005 19:31:05 -0800
I'm not sure if this is the right forum for this question, but I'm hoping
someone could shed some light on the issue I'm having.
I have written a client-server app where the server is a Win32 app using
winsock running on WinXP SP2. The client runs on a pocket pc using the .NET
CF. Everything works great when I try to connect to my server from my
Pocket PC using the local IP address (192.168.1.100). However, when I try
to connect to the server from outside my LAN using an actual IP address, the
client cannot find it. Initially I thought that I may not have configured
my router correctly, so to double check, I wrote a simple Console version of
the app that runs on windows using the full framework, and it could connect
no problem using the actual IP. So I believe that the issue isn't with my
router.
Why would the same Connect call work in the full .NET framework version of
the Socket class and not the compact version? Do I need to configure
something differently on my pocket pc? Any insights would be greatly
appreciated.
George
- Next message: Nathan Mellor: "Re: Simple Encryption in Compact Framework"
- Previous message: Alex Feinman [MVP]: "Re: How to play a wav file"
- Next in thread: Koen Mannaerts: "Re: Socket Connect works on LAN but not WAN."
- Reply: Koen Mannaerts: "Re: Socket Connect works on LAN but not WAN."
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|