apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Garrett Rooney <roo...@electricjellyfish.net>
Subject [PATCH] the beginnings of multicast support
Date Sun, 06 Apr 2003 15:03:06 GMT
i was playing around with some rendezvous/zeroconf stuff yesterday, 
toying with the idea of writing an implementation (for educational 
purposes), and realized that APR doesn't have any support for multicast 
UDP yet.

here's a rough patch that at least seems to let one join and leave a 
multicast group correctly.  it's unix only, the ipv6 case hasn't been 
tested at all, and i need some guidance on what they should return when 
the socket's family is something other than APR_INET or APR_INET6 (hey, 
it could happen ;-) ), but other than that it seems to work.

assuming people would like this support, i'd also like to throw 
together some other useful functions (setting the multicast ttl seems 
like the next useful thing one would want to do, and i'm sure there are 
others, but my multicast-fu is quite weak at the moment).

any comments?


View raw message