<html><head><meta http-equiv="Content-Type" content="text/html charset=koi8-u"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><br><div><div>On Jan 22, 2014, at 6:37 AM, Sergey Kuprienko <<a href="mailto:demthedj@gmail.com">demthedj@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr">I've faced problems using live555 to capture many streams per process.<div>The source is select() calls. It can't accept fd index more than FD_SETSIZE ( 1024 on most distros).</div><div><br></div><div>
I've made some patches to code and i believe it would be useful</div><div>Sorry, if i've choosed wrong way to send a patch, but cannot found right way to post it on site.</div><div><br></div><div>1) GroupsockHelper.cpp :</div></div></blockquote><div><br></div>This change probably doesn't need to be made, because this code (to find the application's local IP address) is executed only once, when the process starts running.  At that time you'll almost certainly have a low socket number, so the "select()" call should always work.</div><div><br></div><div><br></div><div><blockquote type="cite"><div dir="ltr"><div>2) I've made poll()-based task scheduler - how can I post it the best way ?</div></div></blockquote><div><br></div></div>If you've written your own task scheduler simply by defining your own new subclass of "TaskScheduler" - rather than by modifying the existing "BasicTaskScheduler" code, then you can - if you wish - simply post your code.  There should be any 'patches' here, because you should not have modified the existing code.<br><br><div apple-content-edited="true">
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;  "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;  ">Ross Finlayson<br>Live Networks, Inc.<br><a href="http://www.live555.com/">http://www.live555.com/</a></span></span>
</div>
<br></body></html>