With UDP socket, this two proprieties now return $null on 7.1

Code:
on *:udpread:test_udp:{
  sockread -fn 4096 &a
  tokenize 32 $bvar(&a,1,4096).text
  echo -s - $sockname - $sockerr
  echo -s - $sock($sockname).saddr - $sock($sockname).sport
  if ($1 == bug) echo -s hi
  sockclose test_udp*
}

alias test_udp {
  sockudp -k test_udp $1 127.0.0.1 $1
  sockudp -k test_udp1 127.0.0.1 $1 bug
}
/test_udp N where N is any valid port, works perfectly fine on 6.35, on 7.1 $sock().saddr and $sock().sport are $null and it's not working for any valid port

Last edited by Wims; 31/07/10 08:28 AM.

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