User Tools

Site Tools


Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
c:msg-proto [2019-06-03 09:51]
ziggi
c:msg-proto [2020-02-15 00:57] (current)
Line 1: Line 1:
 +=====Message protocol prototype===== ​
 +
 +The available HTTP/​SIP-like protocols are very redundant for inter-process communication,​
 +and are overgrown with shells like an old ship. =)
 +
 +IMHO, the main drawback of text based protocols is variable length level-1 headers in network stream. In each header app must search dividers "​\r\n\r\n"​.
 +
 +Second, multiplexing types in the same data stream is associated with a number of logic "​squats"​.
 +
 +
 <code c msg.h> <code c msg.h>
 /* /*