I cut off the server, then an error product in RequesDone with ErrCode 0.
Its OK. So Ive 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
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
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
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
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
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
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
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