Re: MSSP (Mud Server Status Protocol)
You're using calloc instead of malloc, right?
Calloc automatically zeroes the memory, otherwise odd things might happen.
Regardless, I added a non telnet version to the MSSP specification which should be easier to implement.
MSSP Plaintext
Since it's not feasible for every mud to implement telopt negotiations a plaintext alternative is available. Whenever a new connection enters the command: MSSP-REQUEST a Mud supporting MSSP Plaintext should send the following:
\r\nMSSP-REPLY-START\r\nvariable\tvalue\r\nvariable\tvalue\r\nMSS P-REPLY-END\r\n
If a variable has multiple values you can use multiple tabs:
\r\nMSSP-REPLY-START\r\nvariable\tvalue\tvalue\r\nMSSP-REPLY-END\r\n
|