Re: [streaming] MiniSAPserver port to Solaris 10
Rémi Denis-Courmont <[email protected]> Wed, 4 Mar 2009 17:16:26 +0200
| Newsgroups | gmane.comp.video.videolan.vls.general |
|---|---|
| Organization | Remlab.net |
| Message-ID | <[email protected]> |
Le lundi 2 mars 2009 10:37:06 Saso Kiselkov, vous avez écrit : > - Change the argument to setsockopt when setting IP_MULTICAST_TTL to > "unsigned char" instead of "int". Turns out Solaris is a bit more > pedantic about this than Linux (both define it as u_char, but Linux > accepts other types as well, whereas Solaris refuses with EINVAL). I > renamed the argument in Broadcast() from i_ttl to c_ttl as well, hoping > to follow videolan coding standards correctly. This is incorrect. RFC3493 clearly states that the hop limit must be an integer. A char cannot distinguish the default value -1 from the manual values 0-255 range. I fixed it anyway. -- Rémi Denis-Courmont http://www.remlab.net/ _______________________________________________ streaming mailing list To unsubscribe or modify your subscription options: http://mailman.videolan.org/listinfo/streaming