Hello Ronaldo,
10053 is when OS decide to stop the connection. Normally this is because
of some network problem, a malfunctioning router or switch. But many
virus scanners and firewalls are doing wierd things with TCP, so stop
any service of it (not disable it) and test again.
---
Rgds, Wilfried
Hi, I'm using httpcli to save a webpage html doc and I extract all of
it's image locations to a text file by saving the '___Get
the Free email that has everyone talking at http://www.mail2world.com
target=new>http://www.mail2world.com U
exceptions are without errors
well i checked all events on TWserverSocket and TWsocket and errors ocurs
only here:
*procedure TForm3.SocketSessionClosed(Sender: TObject; ErrCode: Word);
** begin {this is Socket = TWSocket}
memo1.lines.add( Format('Error %d on SocketSes
> See any other obvious issues? Any problem calling Free
> immediately after Close in FreeTelnetClient?
Probably. ICS is asynchronous. It means methods are just request to do some
operation: the operation is started, you get control back immediately while
the request is executed in the backgroun
Hello Ronaldo,
oke we are getting somewhere :)
> procedure TForm3.SocketSessionClosed(Sender: TObject; ErrCode: Word);
> begin {this is Socket = TWSocket}
> memo1.lines.add('Proxy Disconnected from Server!');
> memo1.lines.add( Format('Error %d on SocketSessionClosed',
*I don't see anywere in your code logging of the ErrCode argument in the
TWSocket events! So it is not sure where you get the error 5*
procedure TForm3.SocketSessionClosed(Sender: TObject; ErrCode: Word);
begin {this is Socket = TWSocket}
memo1.lines.add('Proxy Disconnec
Hello Ronaldo,
> yes, error is on TWsocket!
> here is code
I don't see anywere in your code logging of the ErrCode argument in the
TWSocket events! So it is not sure where you get the error 5
I also see you use OnError event of TWSocketServer and use GetLastError
there. Don't use OnError, instea
here is code
##
type
TForm3 = class(TForm)
Socket: TWSocket;
Server: TWSocketServer;
Button1: TButton;
CheckBox1: TCheckBox;
Memo1: TMemo;
Edit1: TEdit;
Edit2: TEdit;
Edit3: TEdit;
Edit4: TEdit;
Label1: TLabel;
Label2: TLabel;
Memo2: TMemo;
Memo3: TMemo;
Button2: TButton;
p
yes, error is on TWsocket!
--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be
Hello Ronaldo,
As Arno already sayed this is not a winsock error. But to be sure
(because I don't see it in your code example), we are talking about the
ErrCode argument in the TWSocket events, right?
---
Rgds, Wilfried [TeamICS]
http://www.overbyte.be/eng/overbyte/teamics.html
http://www.mestdag
More info concerning my original problem which is ...
My application uses a TTnCnx client object to connect (hundreds of times
per day) to a remote device to retrieve data. On rare occasions the pair
seem to get stuck in a connected state and stay there indefinitely.
The normal procedure is to
Ronaldo DeVinche wrote:
> i log all errors and only error i have is on SocketSessionClosed:
> *Error 5 on SocketSessionClosed*
Sounds like the Windows system error code "ERROR_ACCESS_DENIED".
--
Arno Garrels
--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://l
i log all errors and only error i have is on SocketSessionClosed:
*Error 5 on SocketSessionClosed*
--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be
Hello Ronaldo,
At first sight I see nothing wrong with your code. However it is not
normal that some of the sockets close without reason. Wich of the
sockets do the close? Maybe the close is with a winsock error, then it
will tell you more about the reason. You have at least log all the
winsock er
14 matches
Mail list logo