> The first VERY INTERESTING thing about this AND all the other test
> routines I created, is that they *always* fail UNLESS I make some call
> to TTCPBlockSocket.ResolveNameToIP() before... and then it always
> succeeds. I've spent some time looking for initialization code that I
> should be calling elsewhere (???) but I can't find any.

It is problem on your DNS server, or on your system.

Your system trying to resolve name to IP, but system waiting for 
limited time (a few seconds...) for DNS reply. When it not got reply 
within timeout, it return error. However even DNS reply is received 
later, then it is cached. So, if you try to resolve name again, reply 
is returned from cache quickly.

This is reason why first resolve attempt failed and second working. 
It nothing to do with Synapse, and you very probably have problem 
with other programs too. (unless you are using only cached 
results...)

Try to run in CMD:

nslookup www.mlp.cz

Does it timeout? If yes, try to run it again. Working? Then you have 
this problem.

It is usually problem on your DNS server, on problem with 
connectivity between your DNS and world, or connectivity between your 
computer and DNS server. (lost UDP packets, or similar problem...)



-- 
Lukas Gebauer.

E-mail: [EMAIL PROTECTED]
http://synapse.ararat.cz/ - Ararat Synapse - TCP/IP Lib.


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