Re: [twsocket] Problem with FTPClient when a shutdown

2006-07-11 Thread Arnold FLUTEAUX
I cut off the server, then an error product in RequesDone with ErrCode 0. It’s OK. So I’ve made a procedure to analyze the error and I test the “connected” property and the controlsocket.state property and it says that the winsock is already connected. In debug mode, it says the same except if

Re: [twsocket] Problem with FTPClient when a shutdown

2006-07-11 Thread Arnold FLUTEAUX
To launch a new connection is not a problem. But to launch it, I must know if the winsock is deconnected or no. If winsock is always connected then I try again to launch the command which has had a problem and if winsock is disconnected, I launch a new connection in other procedure than

Re: [twsocket] Problem with FTPClient when a shutdown

2006-07-11 Thread Dan
Maybe you have only detected the disconnection of the data socket and the control socket will follow that? I'm not sure how disconnections with the data socket are handled. Maybe someone else knows? Dan -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of

Re: [twsocket] Problem with FTPClient when a shutdown

2006-07-11 Thread Arno Garrels
Dan wrote: Maybe you have only detected the disconnection of the data socket and the control socket will follow that? I only wonder why CtrlSocket.State is wsClosed while Connected still is TRUE? Usually when you unplug the network cable there's no error unless you try to send something or

[twsocket] Problem with FTPClient when a shutdown

2006-07-11 Thread Arnold FLUTEAUX
OK I havn't explain very well my problem. I don't have unplugged the network cable, I cut off the client connection on my FTP server. Then an error is triggered in RequestDone with an error. And I know that there is a disconnection because I kill the client connection but Connected property is

Re: [twsocket] Problem with FTPClient when a shutdown

2006-07-11 Thread Arnold FLUTEAUX
OK my problem seems to be solve. Connected property is set to true, controlsocket.state is not set to wsclosed but datasocket.state is set to wsclosed so I test also this property to know if I must launch a new connection. Thanks for your help. Arnold -- To unsubscribe or change your

[twsocket] RAS Connection Component

2006-07-11 Thread Arnold FLUTEAUX
I'm not sure that my question is Ok with this forum. So sorry, if it isn't. Does it exist an RAS connection ICS component to launch or create a RAS connection, kill the RAS connection, set phone number, user, password ? Arnold -- To unsubscribe or change your settings for TWSocket

Re: [twsocket] RAS Connection Component

2006-07-11 Thread Arno Garrels
Arnold FLUTEAUX wrote: I'm not sure that my question is Ok with this forum. So sorry, if it isn't. Does it exist an RAS connection ICS component to launch or create a RAS connection, kill the RAS connection, set phone number, user, password ? Yes, there is one on the ICS website made by