Hi,
DNS is registered on the computer. Is it possible to read their values from FWH ?
DNS
Re: DNS
João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341
- nageswaragunupudi
- Posts: 10691
- Joined: Sun Nov 19, 2006 5:22 am
- Location: India
- Contact:
Re: DNS
Code: Select all | Expand
WSAStartup()
? GETHOSTNAME() // Name of your PC
? GETHOSTBYNAME( GETHOSTNAME() ) // Your IP address on your local network
WsaCleanUp()
Regards
G. N. Rao.
Hyderabad, India
G. N. Rao.
Hyderabad, India
- Antonio Linares
- Site Admin
- Posts: 42268
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Re: DNS
WSACleanup() is responsible for performing cleanup tasks when your program is finished using Winsock functionality.
Unloads Winsock DLLs: When called, WSACleanup() typically unloads any protocol-specific helper DLLs (Dynamic Link Libraries) that were loaded during the initialization process using WSAStartup(). These DLLs provide support for specific network protocols like TCP/IP.
Cancels Pending Calls (with caution): It's important to note that WSACleanup() cancels any pending blocking or asynchronous Winsock calls issued by any thread in your application. This cancellation happens without notification messages or event object signaling, which could potentially lead to unexpected behavior if not handled carefully.
Unloads Winsock DLLs: When called, WSACleanup() typically unloads any protocol-specific helper DLLs (Dynamic Link Libraries) that were loaded during the initialization process using WSAStartup(). These DLLs provide support for specific network protocols like TCP/IP.
Cancels Pending Calls (with caution): It's important to note that WSACleanup() cancels any pending blocking or asynchronous Winsock calls issued by any thread in your application. This cancellation happens without notification messages or event object signaling, which could potentially lead to unexpected behavior if not handled carefully.