[rtmpdump] Wrong socket timeout in MinGW version

Howard Chu hyc at highlandsun.com
Fri Jan 1 21:52:07 CET 2010


Skaarj NaPali wrote:
> Hi,
>
> The MinGW version has a problem with the TCP/IP socket timeout which
> is applied in "bool RTMP_Connect(RTMP * r)". The Winsock support for
> "SO_RCVTIMEO" does not use the "struct timeval" but is using an
> integer instead which specifies the timeout in milliseconds. So, the
> current MinGW version of rtmpdump tends to throw a socket error (10060
> – WSAETIMEDOUT) because it treats the 'seconds' which are specified in
> "Link.timeout" and which are passed in "tv.tv_sec" actually as
> 'milliseconds'.

Thanks for the report, fixed now in svn.



More information about the rtmpdump mailing list