Re: [twsocket] Multiple port listening server

2008-07-16 Thread Stratus
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

Re: [twsocket] Multiple port listening server

2008-07-16 Thread Stratus
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

[twsocket] Multiple port listening server

2008-07-15 Thread Stratus
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

Re: [twsocket] Multiple port listening server

2008-07-15 Thread Stratus
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