Open Sourcing the Stupid-Simple Messaging Protocol
1–10 of 32 posts
Re: Open Sourcing the Stupid-Simple Messaging Protocol
#2Re: Open Sourcing the Stupid-Simple Messaging Protocol
#3Cool work. Any plans for an IETF submission?
Re: Open Sourcing the Stupid-Simple Messaging Protocol
#4Re: Open Sourcing the Stupid-Simple Messaging Protocol
#5Re: Open Sourcing the Stupid-Simple Messaging Protocol
#6Also, since SSMP is completely text-based, does that mean the only way to send binary data is to base64-encode it? Or does it support a length header or chunking similar to HTTP?
It might have been cleaner to specify base64 encoding or length-prefaced payloads (say, 16 bit int preface indicating length in bytes). As it is, you are on your own.
Re: Open Sourcing the Stupid-Simple Messaging Protocol
#7Also, since SSMP is completely text-based, does that mean the only way to send binary data is to base64-encode it? Or does it support a length header or chunking similar to HTTP?
There is no support for a length header or chunking as SSMP is designed with small messages in mind.
Re: Open Sourcing the Stupid-Simple Messaging Protocol
#8Neat but it's not clear how client authentication is handled in SSMP. I have used XMPP in the past and built-in identity was one of the biggest plusses of the protocol.
Our most common use case is client certificates but there are provisions for alternate auth schemes.
Re: Open Sourcing the Stupid-Simple Messaging Protocol
#9Also, since SSMP is completely text-based, does that mean the only way to send binary data is to base64-encode it? Or does it support a length header or chunking similar to HTTP?
base64 is the preferred way but any 8-bit encoding that doesn't use LF would also work. There is no support for a length header or chunking as SSMP is designed with small messages in mind.
Re: Open Sourcing the Stupid-Simple Messaging Protocol
#10Note: Reminds me when I was illustrating Oberon-2 complexity for C and C++ programmers by comparing Oberon-2 BNF to their specs same way. Good way to do prelim assessment of protocol/language complexity and whether it's worth the trouble.