[Live-devel] Groupsock handling in OnDemandServerMediaSubsession.cpp
Ross Finlayson
finlayson at live555.com
Wed Jun 14 14:08:27 PDT 2006
>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/>
More information about the live-devel
mailing list