Specifying an adaptor for winsock

I'm using the Winsock control that comes with VB5 (SP2).  What I want to do is connect to an address on the LAN, however when I run the program, it attempts to start a dial-up session and connect on the dial-up adaptor.  Is there a way of forcing the winsock control to bind to a specific adaptor ?
LVL 2
wokaAsked:
Who is Participating?
 
wisdom_yConnect With a Mentor Commented:
you can find : my computer->control panel -> internet
  --> connect  page. please disable first checkbox (I don't know its caption ,because i use chinese version).
you done it.  if you use dial network for connection, application will use dial adaptor. if not, it use current adaptor (Lan adaptor).
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.