Menu

#45 windows.h to include winsock2.h

closed-accepted
w32api (251)
2001-04-12
2001-04-04
Danny Smith
No

Attached patch to windows.h include winsock2.h rather
than winsock.h if (_WIN32_WINNT >= 0x0400) &&
(__W32API_MAJOR_VERSION > 0).

mswsock.h is not included by default. See
http://www.sockets.com/mswsock.htm, Note 11 to table.

Discussion

  • Danny Smith

    Danny Smith - 2001-04-04

    diff file

     
  • Earnie Boyd

    Earnie Boyd - 2001-04-12
    • assigned_to: nobody --> earnie
    • status: open --> closed-accepted