Distrotech/rtmpdump — pull request #1 by aviolo (2014-08-11 08:53:07+00:00)
Title: Added 2 options tcp_timeout and timeout for send function

* Added asynchronously option to avoid that send function could block. Thanks to nonblock send, the RTMPSockBuf_Send return could be check to know if all data was send before timeout (for example knowing if there is enough bandwith)

* Added tcp-timeout option to avoid block connection function when no route is defined or when users have a bad internet connection

The both option are disabled by default and use the origin code if user don't specify the option.