Re: [twsocket] FTP Client - Size() Function

2005-07-31 Thread Frank Wunderlich
Angus Robertson - Magenta Systems Ltd schrieb: > The only bullet proof way is use CWD and DIR to get a directory > listing, and parse it (many different formats) to get the file size. > These commands are supported by all FTP servers. is there any parsing routine available which works for wind

Re: [twsocket] Servertimeout ... i don't get it working

2005-07-07 Thread Frank Wunderlich
Arno Garrels schrieb: Frank Wunderlich wrote: Arno Garrels schrieb: Frank Wunderlich wrote: Hallo Arno, am Freitag, 1. Juli 2005, 18:52:25 hast du geschrieben: Arno Garrels wrote: Hello Frank, I've just tweaked the orginal Tcpsrv demo

Re: [twsocket] Servertimeout ... i don't get it working

2005-07-06 Thread Frank Wunderlich
Arno Garrels schrieb: Frank Wunderlich wrote: Hallo Arno, am Freitag, 1. Juli 2005, 18:52:25 hast du geschrieben: Arno Garrels wrote: Hello Frank, I've just tweaked the orginal Tcpsrv demo a bit. Dropped a timer on it and let it send something in intervals, then I p

Re[2]: [twsocket] Servertimeout ... i don't get it working

2005-07-02 Thread Frank Wunderlich
Hallo Arno, am Freitag, 1. Juli 2005, 18:52:25 hast du geschrieben: > Arno Garrels wrote: >> Hello Frank, >> >> I've just tweaked the orginal Tcpsrv demo a bit. Dropped a timer on it >> and let it send something in intervals, then I pluged off the patch >> cable and here is the log: >> >> There

Re: [twsocket] Servertimeout ... i don't get it working

2005-07-01 Thread Frank Wunderlich
Wilfried Mestdagh schrieb: Hello Frank, the client has the event OnChangeState but the server have nothing like this for the client-connection-lost (not disconnect). There is no event for a looze connection. If you pull out the network cable from the client, then both server and clie

Re: [twsocket] Servertimeout ... i don't get it working

2005-07-01 Thread Frank Wunderlich
something end; procedure TForm1.WSocketServer1ClientConnect(Sender: TObject; Client: TWSocketClient; Error: Word); begin twsocket(client).OnChangeState := WSocket1ChangeState; end; Regards, Fredrik. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Frank

[twsocket] Servertimeout ... i don't get it working

2005-06-30 Thread Frank Wunderlich
Hi, i've asked you a few days before because i want to make my server watch for loosing connections. the client has the event OnChangeState but the server have nothing like this for the client-connection-lost (not disconnect). i tried to set events for new created clients, ive tried to send data

Re: [twsocket] detecting disconnect from twsocketserver

2005-06-27 Thread Frank Wunderlich
> >> You could check a 'last alive' time stamp stored in your client class. > >> Cleanup the client after a timeout has elapsed. Use a single Timer to > >> check all clients actually in the list in intervals. > >> > >> Arno Garrels is there a procedure to send something direct to the clients or do

Re: [twsocket] detecting disconnect from twsocketserver

2005-06-27 Thread Frank Wunderlich
> You could check a 'last alive' time stamp stored in your client class. > Cleanup the client after a timeout has elapsed. Use a single Timer to > check all clients actually in the list in intervals. > > Arno Garrels sure but how can i check the clients are reachable? frank -- Weitersagen: GMX

[twsocket] detecting disconnect from twsocketserver

2005-06-27 Thread Frank Wunderlich
Hi, i've trying to detect when a client is abnormal disconnected from the server (calling not the close-procedure). e.g. when the lan-cable is taken out. the client detects the disconnect,but the server don't call the OnClientDisconnect. How can i realize that? Greets frank -- Geschenkt: 3 Mona

[twsocket] problems with OnDataAvailable

2005-06-27 Thread Frank Wunderlich
Hi, i trying to send a record with TWSocket in delphi (code below). send/receive works well, but when i close the connection to the server. OnDataAvailable is fired and i get a message (from my showmessage) with strange signs. That means i cast the incoming data to my record an get something usele