[streaming] MiniSAPserver port to Solaris 10
Saso Kiselkov
skiselkov at gmail.com
Mon Mar 2 09:37:06 CET 2009
Thanks. I've constructed one more patch (attached) against trunk,
because the following additional changes were necessary:
- Make broadcast.cpp include config.h.
- 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.
After these changes, the packets get routed correctly.
Cheers
--
Saso
Rémi Denis-Courmont wrote:
> Le dimanche 1 mars 2009 22:53:11 Saso Kiselkov, vous avez écrit :
>
>> Where can I get the latest development source for testing?
>>
>
> svn://svn.videolan.org/network/miniSAPserver/trunk
>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sapserver-solaris-2.patch
Type: text/x-patch
Size: 3639 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/streaming/attachments/20090302/6f831bec/attachment.bin>
More information about the streaming
mailing list