Advertisement

05.02.2008 at 01:36PM PDT, ID: 23372952
[x]
Attachment Details

Can the Winsock Control in VB 5.0 connect to a PC outside the LAN that's listening using Winsock ?

Asked by jpepe3 in WInsock

Tags: Microsoft, Visual Basic 5.0 Winsock Control, 5.0

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
 
 
Loading Advertisement...
 
[+][-]05.03.2008 at 04:42AM PDT, ID: 21492031

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: WInsock
Tags: Microsoft, Visual Basic 5.0 Winsock Control, 5.0
Sign Up Now!
Solution Provided By: jpepe3
Participating Experts: 0
Solution Grade: A
 
 
 
Loading Advertisement...
20080716-EE-VQP-32 - Hierarchy / EE_QW_2_20070628