Re: [twsocket] MaxLength of ReceiveStr

2005-10-20 Thread Francois PIETTE
>> can someone tell me, how long the result of >> the ReceiveStr Function can be? > AFAIK, it is limited with packet length. ReceiveStr will return at most what can fit into winsock receive buffer which default to 8KB if memory serve me well. But if your program is responsive, you'll likely nev

Re: [twsocket] Async http, close or closeAsync?

2005-10-20 Thread Francois PIETTE
> I called CloseAsync() in OnRequestDone. However, CloseAsync() > seems to be triggering another OnRequestDone and causing a > endless loop ... That is well possible. To break this loop, you could simply set a flag so that you remember that closing is occuring. > Is it necessary to call CloseAsy

Re: [twsocket] MaxLength of ReceiveStr

2005-10-20 Thread Fastream Technologies
Hello, AFAIK, it is limited with packet length. Have a nice evening, SZ - Original Message - From: "Andreas Patock" <[EMAIL PROTECTED]> To: Sent: Thursday, October 20, 2005 6:16 PM Subject: [twsocket] MaxLength of ReceiveStr > Hi, > can someone tell me, how long the result of the Re

[twsocket] MaxLength of ReceiveStr

2005-10-20 Thread Andreas Patock
Hi, can someone tell me, how long the result of the ReceiveStr Function can be? I mean, are there any limitations or can I send a complete (maybe acsii-coded) picture (~200kByte) in a String? Thanks, Andy -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www

Re: [twsocket] Async http, close or closeAsync?

2005-10-20 Thread Jack
Hello Francois, I called CloseAsync() in OnRequestDone. However, CloseAsync() seems to be triggering another OnRequestDone and causing a endless loop ... I tried both cases of the remote IP being available and unavailable (OnRequestDone returns an error in this case.) Is it necessary to call Clos

Re: [twsocket] OT: Open source model

2005-10-20 Thread Fastream Technologies
Yes that's what I perceive Francois has been doing. That's why I asked here. Thanks, SubZ - Original Message - From: "Dod" <[EMAIL PROTECTED]> To: "ICS support mailing" Sent: Thursday, October 20, 2005 11:09 AM Subject: Re: [twsocket] OT: Open source model > > May be if you can sell

Re: [twsocket] OT: Open source model

2005-10-20 Thread Dod
May be if you can sell services behind (install/training/customization). FT> I wonder how your open-source business model is going? I mean financially is FT> it satisfying? If I can convince me and my partner, we may consider FT> releasing the source code of our web/ftp server as well FT> (http

Re: [twsocket] Disconnect a client from FTPServer...

2005-10-20 Thread Francois Piette
> I'm trying to code a simple FTPServer using the ICS Demo > as a base. However, I want to be able to disconnect a user via the > server. I see the "FtpServer1.Disconnect()" method but I don't know how > to use it. > Could someone please explain how I would go about using this, > for example, in an