From: Joel VanderWerf Date: 2008-11-28T03:42:55+09:00 Subject: Re: Problem of UDPSocket on Windows Lee youser wrote: > Hi, All: > > I beg for your helps, my trouble as follow: > > Background: > Use UDP socket to implement an C/S module, Client send messages and Server > receive these messages and print them.Client run > > on Linux(RHEL 5.1) and Server run on Windows(XP).Thetwo computers are in > LAN. > > Problem: > When client send a message,the server will receive this message after 4-5 > seconds passed.It is a terrible delay! Try putting this at the top of your windows code: Socket.do_not_reverse_lookup = true If that helps, then the problem has something to do with delay in DNS lookup, converting numerical to symbolic addresses. Just a guess :) -- vjoel : Joel VanderWerf : path berkeley edu : 510 665 3407