?
Solved

Specifying an adaptor for winsock

Posted on 1998-03-16
1
Medium Priority
?
275 Views
Last Modified: 2013-11-13
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 ?
0
Comment
Question by:woka
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 

Accepted Solution

by:
wisdom_y earned 600 total points
ID: 1459227
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

Featured Post

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
The purpose of this article is to demonstrate how we can use conditional statements using Python.
The viewer will learn how to implement Singleton Design Pattern in Java.
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.
Suggested Courses

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question