Only use a socket to connect to for security reasons. I may add
[pwmd.git] / PROTOCOL
blobd304f6219c1b4b8e429a1f5bd639fbecc87bb3a0
1 The server uses a simple protocol to communicate with a client. All
2 non-data related messages are prefixed by a message type followed by a
3 space followed by a description. Message types are: NFO for
4 informational messages, ERR for error messages and OK if the last
5 command succeeded.
7 There is one more message type BEGIN which is followed by a space then
8 the number of bytes the data about to be sent contains. After the data
9 has been successfully sent (all the bytes have been sent) a newline
10 then an OK message then another newline will be displayed.
12 All of this will probably be tweaked and modified in later versions.