now lgCmdFuncTrace() can support udp