[Live-devel] RTSP server extending

Gustaf Räntilä opera at kth.se
Tue Apr 24 04:12:19 PDT 2007


Ross Finlayson wrote:
>> Actually there is problem here with sockaddr_in. It explicitly
>> excludes sockaddr_in6. It would better just to use sockaddr to
>> simplify IPV6 porting later.
>>     
>
> The actual parameter to the call is a "sockaddr_in", so that's what I 
> used for the formal parameter.
>
> There are many many places in the code that are IPv4-specific, 
> unfortunately.  (The networking (groupsock) code will need to undergo 
> a major restructuring before IPv6 could be supported...)
>   
Correction, I typo'ed the definition of the sessionAccept function in 
the description I wrote, but if you looked at the patch, you'd see the 
correct one:
virtual Boolean sessionAccept(int clientSocket, const struct sockaddr* 
clientAddr, SOCKLEN_T clientAddrLen);

Just to make things clear.

Gustaf


More information about the live-devel mailing list