[FFmpeg-devel] [PATCH] Fix connect return EWOULDBLOCK not EINPROGRESS under mingw
Thu Jun 28 22:59:17 CEST 2007
A connect in windows doesn't return EINPROGRESS as is customary for a non
blocking socket, it returns EWOULDBLOCK. By redefining WSAEWOULDBLOCK to
WSAEINPROGRESS tcp.c works just fine.
EINPROGRESS in windows has some very odd meaning, and wouldn't make sense to
check for anyway, so think this patch is fine.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 367 bytes
Desc: not available
More information about the ffmpeg-devel