TCPSocket Debugging

It is often necessary to debug communication of a TCPSocket object within a Lua script. This topic covers several steps to take to verify and troubleshoot issues.