Network

Daemon/TNC-->Client:TCP/IP Stream as JSON Client->Daemon/TNC:TCP/IP command as JSON Daemon/TNC->Client:TCP/IP response as JSON

Once connected to a socket, you'll get basic status information by default. As soon as data has been received, this will be pushed to the socket. However, the data buffer can be accessed by command as well.

Line delimiter

Please note the UNIX line delimiter \n at the end of commands.

JSON

Every command is JSON encoded.

Data

Data must be encoded to send binary data instead of strings. Suggestion: base64 encoding