Alright, I have this script, but the socket still ping timeouts. Help please. Thanks.

Code:
on 1:sockread:dnn:{
  var %temp | sockread %temp
  if (%temp == PING) { sockwrite -n $sockname PONG $2- }
}