apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Garrett Rooney <roo...@electricjellyfish.net>
Subject [PATCH] multicast support, take 2
Date Wed, 16 Apr 2003 01:25:53 GMT
ok, here's a revised patch for adding some multicast support to APR.

since the last patch i posted i've moved to an extended socket option 
interface (since that's what people seemed to want).  i've also added 
support for APR_SO_MC_REUSEADDR, which tries to mask the differences in 
operating system support for multiple programs binding to the same 
multicast port.  on some systems all sockets involved in such a thing 
must use SO_REUSEPORT, while on others you just need to set 
SO_REUSEADDR.  in this case, APR_SO_MC_REUSEADDR sets SO_REUSEPORT if 
it's present, and SO_REUSEADDR in any event.

again, this is almost completely untested, unix only, and i'm mainly 
looking for comments on the interface (both the extended socket options 
interface and the APR_SO_MC_REUSEADDR idea).

-garrett


Mime
View raw message