comparison os_support.h @ 6457:2e3e76e8ada4 libavformat

Send NAT punching messages to the address specified in the Transport: message, if available (RFC 2326, section 12.39), fixes issue 2212. Patch by John Wimer <john at god vtic net>.
author rbultje
date Fri, 03 Sep 2010 19:25:59 +0000
parents 6780dc315f36
children e29a553aa1fc
comparison
equal deleted inserted replaced
6456:8743935975f2 6457:2e3e76e8ada4
53 /* most of the time closing a socket is just closing an fd */ 53 /* most of the time closing a socket is just closing an fd */
54 #if !HAVE_CLOSESOCKET 54 #if !HAVE_CLOSESOCKET
55 #define closesocket close 55 #define closesocket close
56 #endif 56 #endif
57 57
58 #ifndef INET6_ADDRSTRLEN
59 #define INET6_ADDRSTRLEN INET_ADDRSTRLEN
60 #endif
61
58 #if CONFIG_FFSERVER 62 #if CONFIG_FFSERVER
59 #if !HAVE_POLL_H 63 #if !HAVE_POLL_H
60 typedef unsigned long nfds_t; 64 typedef unsigned long nfds_t;
61 65
62 struct pollfd { 66 struct pollfd {