in reply to INET slow reconnects.

It's probably repeatedly doing a DNS lookup. You should cache the IP address of your host, and use that in your socket connect.

Replies are listed 'Best First'.
Re^2: INET slow reconnects.
by kuratkull (Acolyte) on Apr 30, 2007 at 17:16 UTC
    Thx, but the server I am trying it on, is a virtual server,
    else I could have just entered the static IP :/
    But I need it to work on any computer this will be ran on.
    So these DNS cachings do not fit very well :/
    Can't I just force it to "memorize" or cache the DNS automaticly after the first query?

      If by "force it" you mean "write some code", that's what merlyn is saying.