Menu

#1641 missing inet_pton in ws2tcpip.h

WSL
pending
None
Bug
later
Feature_in_WSL_4.1
False
2017-08-29
2012-06-07
No

Hi, while trying to compile a C program, I noticed that inet_pton() is not present in ws2tcpip.h.

The documentation from Microsoft is here:
http://msdn.microsoft.com/en-us/library/windows/desktop/cc805844\(v=vs.85).aspx

INT WSAAPI inet_pton(
__in INT Family,
__in PCTSTR pszAddrString,
__out PVOID pAddrBuf
);

Could this and similar functions be added to ws2tcpip.h?

Thank you for your help.

Discussion

  • Earnie Boyd

    Earnie Boyd - 2012-06-08
    • assigned_to: nobody --> ir0nh34d
     
  • Earnie Boyd

    Earnie Boyd - 2012-08-04
    • assigned_to: ir0nh34d --> earnie
     
  • Earnie Boyd

    Earnie Boyd - 2012-10-26
    • labels: 103945 --> WSL (Windows System Libraries)
    • milestone: --> Feature_in_WSL_4.1
    • status: open --> pending-remind
     
  • Earnie Boyd

    Earnie Boyd - 2013-01-18
    • category: --> Feature_in_WSL_4.1
    • milestone: Feature_in_WSL_4.1 --> WSL
     
  • Earnie Boyd

    Earnie Boyd - 2013-02-04
    • labels: WSL (Windows System Libraries) -->
    • status: pending-remind --> pending
    • resolution: --> later
     
  • Earnie Boyd

    Earnie Boyd - 2013-02-11
    • type: --> Bug
    • patch_attached: --> False
     
  • Martin Melik-Merkumians

    Hi!

    Just wanted to asked if this will be fixed, as it seems the function itself is already part of the Ws2_32.a
    Bug 2147 https://sourceforge.net/p/mingw/bugs/2147/ suggests that the function is already implemented.

    Best regards,
    Martin