converts string containing an IPv4/IPv6 into IN_ADDR structure
[DllImport("Ws2_32.dll", CharSet = CharSet.Unicode, EntryPoint = "InetPtonW")]
public static extern uint inet_pton(ADDRESS_FAMILIES Family, string pszAddrString, ref in_addr pAddrBuf);
[DllImport("Ws2_32.dll", CharSet = CharSet.Unicode, EntryPoint = "InetPtonW")]
public static extern uint inet_pton(ADDRESS_FAMILIES Family, string pszAddrString, ref in6_addr pAddrBuf);
Declare Function inet_pton Lib "ws2_32.dll" (TODO) As TODO
None.
Do you know one? Please contribute it!
None.
Please add some!
Please add some!