[rtmpdump] [PATCH] mingw (on windows) support

Howard Chu hyc at highlandsun.com
Thu Dec 31 02:44:38 CET 2009


compn wrote:
> patch attached

Thanks. I decided to go the opposite direction, and use closesocket() in the 
code. That makes it more explicit that we know we're closing a socket, and not 
just a file handle. (Though perhaps on modern Windows there's no longer a 
difference?)

I had to rewrite the I/O in http_get() to use send/recv instead of read/write, 
just to be safe.

-- 
   -- Howard Chu
   CTO, Symas Corp.           http://www.symas.com
   Director, Highland Sun     http://highlandsun.com/hyc/
   Chief Architect, OpenLDAP  http://www.openldap.org/project/


More information about the rtmpdump mailing list