Re: [twsocket] FTPClient speeds

2005-09-04 Thread Piotr Dałek
Hello! >> I wrote a write-buffering stream. Anyone interested? Adding read and seek >> support and extending it so it can write to other streams shouldn't be >> difficult. >> > I thought windows buffered writes anyway? Is this so you can have a > larger > buffer or something completely different

Re: [twsocket] ICS for Linux Development

2005-09-04 Thread Francois PIETTE
>> IMO Linux lack both true async socket, and messaging system. > > I wouldn't say so. By using fnctl() one can do the following: set a > socket descriptor F_SETFL - O_ASYNC and possibly F_SETOWN if the process > receiving SIGIO has to be something else than this one and you have > truly asynchrono

Re: [twsocket] NO_ADV_MT symbol

2005-09-04 Thread Francois PIETTE
>> it is safe to define NO_ADV_MT when a TWSocket instance is use from a >> single thread only > > It seems I missed that one. I have checked the code and it seems to me > it is only there for if you want to call TWSocket methods from another > thread context as where it is created in. Is that cor

[twsocket] R: R: ICS for Linux Development

2005-09-04 Thread Roberto Della Pasqua
Sorry for the silly question, Which platform you will support with ICS linux, both kylix and FPC2 ? Thanks :) -Messaggio originale- Da: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Per conto di Ari Sundholm Inviato: domenica 4 settembre 2005 16.59 A: ICS support mailing Oggetto: Re: [tws

Re: [twsocket] R: ICS for Linux Development

2005-09-04 Thread Ari Sundholm
Hello Roberto, hello everyone! On Sun, 2005-09-04 at 13:22 +0200, Roberto Della Pasqua wrote: > Please permit me to suggest you what I consider the best model for highend > scalability under linux: Yes, epoll() seems like a good idea. It seems libevent supports it, too. That makes me wonder if li

[twsocket] R: ICS for Linux Development

2005-09-04 Thread Roberto Della Pasqua
Please permit me to suggest you what I consider the best model for highend scalability under linux: http://www.xmailserver.org/linux-patches/nio-improve.html use epoll(), a sort of linear select that check the status of all sockets dispatched in kernel (also 100,000 sockets concurrently without do

Re: [twsocket] ICS for Linux Development

2005-09-04 Thread Ari Sundholm
On Sat, 2005-09-03 at 18:54 +0200, Francois PIETTE wrote: > IMO Linux lack both true async socket, and messaging system. I wouldn't say so. By using fnctl() one can do the following: set a socket descriptor F_SETFL - O_ASYNC and possibly F_SETOWN if the process receiving SIGIO has to be something

Re: [twsocket] NO_ADV_MT symbol

2005-09-04 Thread Wilfried Mestdagh
Hello Francois, > it is safe to define NO_ADV_MT when a TWSocket instance is use from a > single thread only It seems I missed that one. I have checked the code and it seems to me it is only there for if you want to call TWSocket methods from another thread context as where it is created in. Is t

Re: [twsocket] ICS for Linux Development

2005-09-04 Thread Francois PIETTE
OK for me. -- Contribute to the SSL Effort. Visit http://www.overbyte.be/eng/ssl.html -- [EMAIL PROTECTED] http://www.overbyte.be - Original Message - From: "Erich Kuba" <[EMAIL PROTECTED]> To: "ICS support mailing" Sent: Sunday, September 04, 2005 2:16 AM Subject: Re: [twsocket] ICS f