Re: [twsocket] Telnet

2005-05-20 Thread Francois Piette
I'm using ICS - TWSocket and I wrote a server that listen on port, waiting a connection. A client telnet connect to this IP/port and the server execute another application to receive this connection. The server is a single receive of connections. Question 1 = Did you already make something

Re: [twsocket] Receive result of the first ReceiveStr() call twice -not resolved

2005-05-20 Thread Francois Piette
I still persist saying the you probably call the message pump directly or indirectly (for example your Log() function, or any component you use for display). I suggest you make a stripped down version of your program, just he bare minimum in a small project. If the problem persist with this

Re: [twsocket] [FTP Client] Binary Mode

2005-05-20 Thread Francois Piette
I have question about using Binary Mode. If I set FTPClient.Binary = True, my data is transmited in Ascii mode anyway. Because the server doesn't know you have changed the way data has to be transfered and FTP protocol default to ascii. You _must_ call method TypeSet to send the information

Re: [twsocket] [FTP Client] Binary Mode

2005-05-20 Thread Artem Antonov
On Fri, 20 May 2005 17:12:45 +0400 Artem Antonov [EMAIL PROTECTED] wrote: Hello, I have question about using Binary Mode. If I set FTPClient.Binary = True, my data is transmited in Ascii mode anyway. Thanks, I've already managed with this problem. Best regards, Artem Antonov. -- To unsubscribe

Re: [twsocket] [HELP] FTP server random client deconnection

2005-05-20 Thread Guillaume MAISON
hi everyone, still working on my ftp service server. [...snip...] The exceptions are triggered because the Client used within the thread is nil. what i don't understand is why, although i set delayedsend to true, the ftp server begins to open the data connection and says the file

[twsocket] [HELP] FTP Server possible bug ?

2005-05-20 Thread Guillaume MAISON
Le 20 May 2005 à 16:31, Guillaume MAISON a écrit: Unless there's something obvious, i don't know why the ftpserver opens data for connection though i've set DelayedSend:=True in the OnGetProcessing event ? After more and more debugging, i've found something : when saying delayedSend to true,

Re: [twsocket] Telnet

2005-05-20 Thread Francois PIETTE
But the question 1, OnSessionAvailable on server, I execute this code below: You are reinventing the wheel. Use TWSocketServer instead of TWSocket. It has everything needed to accept incomming connections and manage client list. If you really want to reinvent the wheel, have a look at

Re: [twsocket] Telnet

2005-05-20 Thread Arno Garrels
Arnoldo - Optextil wrote: Hi François, [snip a lot] Resuming, client connect to server, server execute another application. The another application establishing the connection e work with the client. Have a sample about this ? As far as I know, there's not such an example. But why do you

Re: [twsocket] [HELP] FTP Server possible bug ?

2005-05-20 Thread Arno Garrels
It's just a guess, sounds like your multithreading isn't designed well. Can you explain your thread design in your own words? Arno Garrels Guillaume MAISON wrote: Le 20 May 2005 à 16:31, Guillaume MAISON a écrit: Unless there's something obvious, i don't know why the ftpserver opens data

Re: [twsocket] Telnet

2005-05-20 Thread Arnoldo - Optextil
Hi, Arno In others two projects, I worked with the examples, a server, a client, client connect to server, server establish a connection and return to listen... In this case, the connections simultaneos in server work perfect, because not acessing global variables. But now, the connections

Re[2]: [twsocket] Receive result of the first ReceiveStr() call twice -not resolved

2005-05-20 Thread Jack
Thanks Francois. I double-checked and didn't see any calls to ProcessMessages or ShowMessage, etc. I'll make a simplified version and send the code in private email. Jack Friday, May 20, 2005, 3:50:18 AM, you wrote: FP I still persist saying the you probably call the message pump FP directly