[Live-devel] Groupsock handling in OnDemandServerMediaSubsession.cpp

David BERTRAND bidibulle at operamail.com
Thu Jun 15 03:41:32 PDT 2006


In my previous email, the quoted code at the end of the message would be the code to move after the bind(). Sorry for forgetting this in my previous message.
David
> ----- Original Message -----
> From: "Ross Finlayson" <finlayson at live555.com>
> To: "LIVE555 Streaming Media - development & use" <live-devel at ns.live555.com>
> Subject: Re: [Live-devel] Groupsock handling in OnDemandServerMediaSubsession.cpp
> Date: Wed, 14 Jun 2006 14:08:27 -0700
> 
> 
> 
> > So the question is, do you follow my analysis and agree with the issue ?
> 
> Yes, I agree that there's an issue - however, I don't agree with the
> proposed solution of not setting the SO_REUSE* options when creating
> sockets.  IMHO, all sockets should have those options
> set.  (Monitoring/debugging of network applications by other
> applications running on the same computer is easier if you know that
> all sockets will be readable.)
> 
> The solution to the problem you saw is to modify the code (that you
> quoted) to keep around 'groupsocks' for all trials, not just the most
> recent one - i.e., to change "rtpGroupsock_old" to be a list of
> pointers, rather than just a single pointer.  I don't have time right
> now to make this change, so feel free to propose a modification and
> send a patch to the list.
> 
> 
> 	Ross Finlayson
> 	Live Networks, Inc. (LIVE555.COM)
> 	<http://www.live555.com/>
> 
> _______________________________________________
> live-devel mailing list
> live-devel at lists.live555.com
> http://lists.live555.com/mailman/listinfo/live-devel

>


-- 
_______________________________________________
Surf the Web in a faster, safer and easier way:
Download Opera 8 at http://www.opera.com

Powered by Outblaze



More information about the live-devel mailing list