Hum, you might be right, but :
Quote:
By the time the event does execute (in response to the first UDP packet), the last received UDP packet is already the second one.
I think this is wrong, why would it work with another delay ? The event triggers twice whatever the order of the packet, in both case the last received udp packet is the one I want to play with but the source port is the same, and in my case it's the same ip too, how to send an information to the right person ?

If I specify the local port to use, with a function like this:
Code:
alias getfreeport {
  var %a 5000
  while (!$portfree(%a)) inc %a
  return %a
}
it work perfectly, and this is what I expect when not using a local port

Last edited by Wims; 11/12/10 08:49 AM.

#mircscripting @ irc.swiftirc.net == the best mIRC help channel