# UDPDbg metatable

UDPDbg.Reg(sIp, nPort, bAllData) | - Register to receiving data to PtokaX UDP Debug receiver, bAllData false means to receive only data from this script. Return nil when failed or true when success.
UDPDbg.Unreg() | - Remove from receiving data.
UDPDbg.Send(sData) | - Send data to udp debug. If script is registered then only to this reg, else to all. Return nil when failed or true when success.