inet_pton (ws2_32)
Last changed: -77.124.220.248

.
Summary
TODO - a short description

converts string containing an IPv4/IPv6 into IN_ADDR structure

C# Signature:

    [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);

VB Signature:

Declare Function inet_pton Lib "ws2_32.dll" (TODO) As TODO

User-Defined Types:

None.

Alternative Managed API:

Do you know one? Please contribute it!

Notes:

None.

Tips & Tricks:

Please add some!

Sample Code:

Please add some!

Documentation
inet_pton on MSDN