We have an app which talks SNMP with a remote host. At connect time the user has to enter an ip address (dotted quad). I'd like to let them enter the plaintext hostname and let our app do the name->address translation.
does anyone know of something that already exists in VB or winsock APIs to do this?
There is a lot of code here because this can also perform a PING in VB so, Add the following to a MODULE in your program, then you can do this:
Dim X as LHOSTENTRY
X = GetHostInfo("www.experts-exchange.com")
MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.
The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.
The viewer will be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.