[FFmpeg-devel] [PATCH] Fix connect return EWOULDBLOCK not EINPROGRESS under mingw

elupus elupus
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.

/Joakim
-------------- next part --------------
A non-text attachment was scrubbed...
Name: network.patch
Type: application/octet-stream
Size: 367 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070628/f9587a06/attachment.obj>



More information about the ffmpeg-devel mailing list