I was trying zig-network on Windows and found that when I called receiveFrom over UDP, I always got a WSAEOPNOTSUPPP error. The reason for this is that the lpFlags argument to WSARecvFrom and recvfrom is incorrect. I fixed it so that it works fine on Windows.
Hi!
I was trying zig-network on Windows and found that when I called
receiveFrom
over UDP, I always got aWSAEOPNOTSUPPP
error. The reason for this is that thelpFlags
argument toWSARecvFrom
andrecvfrom
is incorrect. I fixed it so that it works fine on Windows.WSARecvFrom recvfrom