apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Henry Jen <henry...@ztune.net>
Subject [Patch] - apr_recvfrom on Win32 returns 730022 instead of blocking as expected
Date Sat, 19 Feb 2005 02:45:39 GMT
Hi,

Attached patch fix a bug on Win32, if call apr_recvfrom() when no one
write to that addr:port, the call returns 730022(WSAEINVAL) instead of
blocking as expected.

The reason is that the from->salen was not initialized properly. The
patch fix the problem.

I tested on Windows XP home with apr-0.9.6.

Cheers,
-- 
Henry Jen, a.k.a slowhog

Mime
View raw message