Не могу найти рабочий способ работы через соксы на инди,
пытаюсь сделать так:
Код:
IdSocksInfo1.Create(NIL);
IdSocksInfo1.Version:=svSocks4;
IdSocksInfo1.Host:=Copy(Edit1.Text,1,Pos(':',Edit1.Text)-1);
IdSocksInfo1.Port:=StrToInt(Copy(Edit1.Text,Pos(':',Edit1.Text)+1,Length(Edit1.Text)));
IdSocksInfo1.Authentication:= saNoAuthentication;
IdSSLIOHandlerSocketOpenSSL1.TransparentProxy:=IdSocksInfo1;
memo2.Lines.Append(idhttp1.Get('http://www.whatismyip.com/automation/n09230945.asp'));