SOCKS Support


 

The AstaClientSocket can connect through a SOCKS server (ver 4, 4a and 5) to traverse a firewall.

 

To connect through a SOCKS server, set the SocksServerAddress, Port (usually 1080) and UserName (optional). Then you must call SocksConnect rather than Active := True.

 

     with AstaClientSocket1 do begin

       SocksUserName := 'Frank Borland';

       SocksServerAddress := '63.224.240.86';

       SocksServerPort: := 1080;

       SocksConnect;

     end;

 

Tutorial.Socks



ASTA Overview