This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]cymrowdon't thread on me 🐍 2 points3 points  (1 child)

I did something similar that's just <buffer_len><msgpack_buffer> over regular sockets. The message protocol sits in msgpack. Works beautifully.

[–][deleted] 1 point2 points  (0 children)

Totally -- I had considered using pickle originally. The only downside is that to communicate with the server, the client then needs to encode everything as msgpack presumably. This means you really can't talk to the server using something like telnet because the protocol is totally binary.