Hello
I'm trying to write a server program to listen to approx 50 ports
simultaneously.
Is there a more elegant way than spawning one TSocketServer per port ?
Your help woul be greatly appreciated!
Jacques Lorenzi
--
To unsubscribe or change your settings for TWSocket mailing list
please got
> I'm trying to write a server program to listen to approx 50 ports
> simultaneously.
> Is there a more elegant way than spawning one TSocketServer per port ?
Basically, this is the way to go. Don't worry too much about 50 components
because the code is shared by all components. Onlythe data part
Thank you for your answer François.
Ok. Another question rises : As I have to save to disk every stream received,
should I process it on a different 'save to disk' thread, or the internal
TSocket buffers can cope the wait?
Thank you.
>Basically, this is the way to go. Don't worry too much ab
Stratus wrote:
> Thank you for your answer François.
>
> Ok. Another question rises : As I have to save to disk every stream
> received, should I process it on a different 'save to disk' thread,
> or the internal TSocket buffers can cope the wait?
I'm pretty sure that you do not need multiple th
> *Subject:* Re: [twsocket] Multiple port listening server
> *From:* Stratus <[EMAIL PROTECTED]>
> Ok. Another question rises : As I have to save to disk every stream
> received, should I process it on a different 'save to disk' thread,
> or the internal TSocket buffers can cope the wait?
I have
I need to add: if you want to use the advantage of multiple CPUs/cores,
single thread cannot do that.
On Tue, Jul 15, 2008 at 7:55 PM, Arno Garrels <[EMAIL PROTECTED]> wrote:
> Stratus wrote:
> > Thank you for your answer François.
> >
> > Ok. Another question rises : As I have to save to disk ev
Angus Robertson - Magenta Systems Ltd wrote:
> BTW, there is an experimental ICS Multi-Listen Socket Server, that
> will listen on an unlimited number of IPs and/or ports, Arno will
> tell you more.
I cannot, this project died.
--
Arno Garrels
--
To unsubscribe or change your settings for
Thank you very much to all !
As a first try, I will go to the mono thread. Using the same
--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be
Sorry - I pressed the wrong key :-)
Thank you very much to all !
As a first try, I will go to the mono-thread route. Using the same event
handlers is a huge improvement to my initial idea.
Angus : I will take a look at your program, that may help a lot. Thank you.
Arno : I will do some extensive