> Did you try this with Delphi or Lazarus/FPC?

I only work with Delphi and Kylix so far... and for the foreseeable
future...

> What platform are you running these tests on?

I'm pretty sure I was on Delphi 7 yesterday for this stuff. So it was the
Windows sockets library.

> but I've not had to do this when specifying a host name as the endpoint in
a connection.
> I would think the library would do this underneath automatically.

It does. It was just exactly in the process of resolving the host name where
the GetHostByName() failed (when not preceded by the ResolveNameToIP()
call).

I've traced through a lot of it, several times, and I still don't see any
initialization or "linking" code... but that described behavior happens
every time in a minimal testing setup.

And just to make it even clearer: it doesn't need to be a ResolveNameToIP()
call to resolve the outgoing mail server's address. Even if a call is made
to the recently created routine to get the local IP addresses, any
subsequent calls to get the mail server's address succeed (as normal...).

That's why I was looking for some initialization code that wasn't getting
called...


-------------------------------------------------------------------------
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

Reply via email to