Menu

#545 missing include in tcpserver

bugfix
pending-accepted
w32 (2) build (1)
5
2015-05-05
2015-04-29
No

while trying to crosscompile mrpeach/net for w32 on linux using MinGW64 i noticed two problems:

  • tcpserver.c is missing an #include <ws2tcpip.h> for socklen_t (as found in in mos t other objects, with the exception of [httpreq], [httpreceive] and [tcpsend])

  • i need to link against -liphlpapi to resolve GetIpAddrTable as used in [udpsend]/[udpsend~].

attached is a patch that fixes the first problem.

1 Attachments

Discussion

  • Martin Peach

    Martin Peach - 2015-04-30

    Well why don't you add it yourself? I don't seem to have access anymore.

     
  • IOhannes m zmölnig

    • status: open --> pending-accepted
     

Anonymous
Anonymous

Add attachments
Cancel