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?
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?