Newsgroups : Borland : borland.public.delphi.internet.winsock : 2006 Apr : Re: Indy 10, POP3 and SSL/TLS
| Subject: | Re: Indy 10, POP3 and SSL/TLS |
| Posted by: | "Sasa Zeman" (publ..@szutils.net) |
| Date: | 25 Apr 2006 00:09:55 |
Remy Lebeau (TeamB) wrote:
> > Which version exactly should be loaded from http://www.openssl.org/
> > for the latest dev. Indy 10 snapshot ?
>
> As I said earlier, the latest version - which is 0.9.8a
Yes, I have notice your suggestion earlier. I was intented to formulate
question as: "Which minimum version..."
> There is nothing in TIdPOP3 that tries to access the Internet before
> Connect() is called.
I have manage to find some free time to locate the cause. Starting from:
procedure TIdPOP3.InitComponent;
begin
inherited;
...
End breakpoint is calling of gethostname, which actually trigger
firewall:
function Stub_gethostname (name: PChar; len: Integer): Integer; stdcall;
begin
FixupStub('gethostname', @gethostname); {Do not Localize}
Result := gethostname(name, len);
end;
This gives unexpected result in both cases (on DialUp when internet
connection is established or not) - firewall show trying accessing to
last connected IP.
At this point, this is windows system library WS2_32.DLL issue.
Sasa
--
www.szutils.net