PtokaX wiki

Hub (server) for Direct Connect

User Tools

Site Tools


Sidebar


luaapi:px_udpdbg

UDP debug table functions

FIXME Add some description about UDP Debug Receiver app + link.

Function Description
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.
luaapi/px_udpdbg.txt · Last modified: 16/06/2015 16:04 by ppk