Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Specifying adapter for winsock?

Status
Not open for further replies.

sojum

Programmer
Jun 4, 2001
3
US
I have some code I'm working on that needs to work with the Nortel VPN software my company is using. The design is very simple: identify Nortel VPN adapter, determine status (active/inactive), obtain IP address assigned to the adapter.
Currently, we're getting the IP address from a winsock opened off of the primary Ethernet adapter (for regular LAN users), but I can't see any way to use winsock for obtaining the IP address of another adapter. Is anyone familiar with network adapters and C? I could really use some help on this. I have been playing around with NetBIOS and WinSock2, but haven't yet found any way to get the IP from the VPN adapter. (How) can I create a winsock, specifying which adapter to use as the origin?





 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top