Sockets in MinGW

后端 未结 7 1256
猫巷女王i
猫巷女王i 2020-12-30 23:26

I was just trying to build netcat in MSYS using MinGW and realized that MinGW never really ported all of the BSD socket stuff to Windows (eg sys/socket.h). I know you can u

7条回答
  •  时光说笑
    2020-12-31 00:11

    As ChrisW said, Winsock2 is a port of BSD sockets. Which part of winsock are you trying to use which differs from BSD sockets ? (other than the WSAStartup and WSACleanup)

提交回复
热议问题