Hi,
I used this example code:
var
sock: TTCPBlockSocket;
s: string;
begin
sock:= ttcpblocksocket.Create;
try
sock.Connect('ipserver','22');
sock.SSLDoConnect;
if sock.lasterror <> 0 then //check for success start of SSL
exit;
sock.SendString('yourdata' + CRLF);
s := sock.recvstring(15000);
//...
finally
sock.Free;
end;
end;i added also: sock.SSL.Username and Password.and after SSLDoConnect i
got: "Unexpected packet type 83, expected 22"What it mean? Please help.thank
you very muchstan
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
synalist-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/synalist-public