From: Bill Kelly Date: 2006-02-01T02:44:58+09:00 Subject: Re: TCP/UDP server weird lags on 1.8.4 linux From: "Caleb Tennis" > >> Interesting, thanks. I added that, but the strange delay still >> occurs when doing UDP I/O. (The strace output looks the same, it >> gets stuck in poll().) >> >> I'll try to make a small program to reproduce the behavior... > > The other thing I did was to add the host I was connecting to to > /etc/hosts (on Linux anyway), so it had the namelookup information anyway. > Can't remember if that helped or not, though. Thanks Caleb!!! That got me on the right track. I was stupidly using hostnames when sending my UDP packets... I'm looking up the IP addr now once and caching it. /me feels like dunce Regards, Bill