|
inet_addr The Windows Sockets inet_addr function converts a string containing an Internet Protocol dotted address into a proper address for the IN_ADDR structure. VB4-32,5,6 Declare Function inet_addr Lib "wsock32.dll" (ByVal cp As String) As Long |
VB.NET System.Net.IPAddress.Parse |
Operating Systems Supported |
Requires Windows Sockets 1.1 |
· cp [in] A null-terminated character string representing a number expressed in the Internet standard ".'' notation. |
If no error occurs, inet_addr returns an unsigned long value containing a suitable binary representation of the Internet address given. If the string in the cp parameter does not contain a legitimate Internet address, for example if a portion of an "a.b.c.d" address exceeds 255, inet_addr returns the value INADDR_NONE. |
|
|
|