I'm trying to use the Winsock control in VB5.0 in client mode on my office WinXP machine to connect to a PC outside of this office LAN, at my home. The office machine attempts to connect to an embedded ethernet enabled hardware device on my home LAN, which is configured to wait for a connection in 'server' mode, again, using the Winsock Control in VB5.0. My home Linksys WRT54G router is configured to port forward port 5000 to this device, which has a static IP of 192.168.0.105. I've successfully made http requests from an IE browser, to an entirely different ethernet enabled device, which also has port forwarding setup for port 80. Some other things that I've tried:
-- Disabled 'Block anonymous internet requests' on the Linksys router.
-- Turned off the Linksys firewall.
-- Turned off anti-virus software.
I also can ping the WAN IP from within the LAN, but not from my office.
In all cases, error code 9 is returned: 'Unknown Error'.
Don't know where else to look.
Does Winsock need a Gateway IP at the office to get outside the LAN ?
Something wrong with port forwarding ?
Thanks for any help.
Joe P
Start Free Trial