Link to home
Start Free TrialLog in
Avatar of aniston
aniston

asked on

Winsock's Connect does not allow 'http://'?

When trying to connect to remote sites with "http://" attached to the beginning of them winsock1.connect cannot resolve the host name/ip address. Is this another error in vb5? It only reports back an "Cannot Resolve Host" error.

Oh..and if it isn't any trouble could someone email the mswinsck.hlp file to qballme@yahoo.com...the books online is essentially the only help i can get on this topic. Everytime i hit F1 for help on winsock commands it says cant find the mswinsck.hlp file.  I've tried reinstalling to no prevail.
Avatar of aniston
aniston

ASKER

Edited text of question
ASKER CERTIFIED SOLUTION
Avatar of evertd
evertd

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of aniston

ASKER

The strange part is that in the examples mentioned in Help it does show that you are allowed to include "http://" to calls to Connect or even setting the winsock1.remotehost="http://test.com" . I guess this was a mistake by the manual writers, albeit repeatedly used throughout. Thanks for the info.
Yes, I think so!! But what is the difference betwee http://test.com and test.com!! The only difference is the port I think but you have to specify the port anyway!!
Yes, I think so!! But what is the difference betwee http://test.com and test.com!! The only difference is the port I think but you have to specify the port anyway!!
Avatar of aniston

ASKER

Very good point...I guess my mind is being a little stubborn to adjust. I will make my modifications. I really appreciate you answering this mystery!
http:// goes on port 80, btw