This is a discussion on Re: C# UDP socket timing problem... - Javascript ; I was able to track down the problem, with a little help: http://www.codeproject.com/script/co...mid=1649&selec t=1164577&df=100&msg=1164577#xx1164434xx Try using the overloaded method which uses int Send(byte[] dgram, int bytes, reomteIPEndpoint IPEP), rather than int Send(byte[] dgram, int bytes, string hostname, int port) ... ...
I was able to track down the problem, with a little help:
http://www.codeproject.com/script/co...mid=1649&selec
t=1164577&df=100&msg=1164577#xx1164434xx
Try using the overloaded method which uses
int Send(byte[] dgram, int bytes, reomteIPEndpoint IPEP), rather than
int Send(byte[] dgram, int bytes, string hostname, int port)
...
The second calls DNS.Resolve...
*** Sent via Developersdex http://www.developersdex.com ***