Hello!
i have made a proxy (sniffer) based on TWsockets from www.overbyte.be
all works perfect... i capture packet and if need before send it back i
modify it
the problem is that proxy disconnect in +/- 1 minute
is there is way how to increase or even disable thous disconnect timup`s or
whatever i
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
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
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
*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
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