A Recreational Post System/Simple TCP: Difference between revisions
Created page with " The receiver of a connection must not do anything without being asked. To send messagges, write <code>FORYOU ''message-count''</code>. <br/> Then for each message, <code>UNE ''line-count''</code>, and the message. To check for messages, write <code>ANYFORME?</code>. <br/> You will get a reply of <code>HEREYOUGO ''message-count''</code>. <br/> Then for each message, <code>UNE ''line-count''</code>, and the message. To close cleanly, write <code>IMOFFNOW</code>. <br/>..." |
m word choice change |
||
| (4 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
A default port of 5467. | |||
The receiver of a connection must not do anything without being asked. | The receiver of a connection must not do anything without being asked. | ||
To send | To greet, write | ||
<code>HELLOIM ''name''</code>, | |||
with ''name'' being your canonical WAY element. | |||
<br/> | |||
You will be welcomed with | |||
<code>HELLOIM ''name''</code>, | |||
likewise. | |||
To send post, write | |||
<code>FORYOU ''message-count''</code>. | <code>FORYOU ''message-count''</code>. | ||
<br/> | <br/> | ||
Then for each | Then for each piece, | ||
<code>UNE ''line-count''</code>, and | <code>UNE ''line-count''</code>, and then it. | ||
To | To receive post, write | ||
<code>ANYFORME?</code>. | <code>ANYFORME?</code>. | ||
<br/> | <br/> | ||
You will get a reply of | You will get a reply of | ||
<code> | <code>FORYOU ''message-count''</code>. | ||
<br/> | <br/> | ||
Then for each | Then for each piece, | ||
<code>UNE ''line-count''</code>, and | <code>UNE ''line-count''</code>, and then it. | ||
To close cleanly, write | To close cleanly, write | ||
<code> | <code>BYEFORNOW</code>. | ||
<br/> | <br/> | ||
You will get a reply | You will get a reply the same. | ||
Latest revision as of 23:03, 15 November 2025
A default port of 5467.
The receiver of a connection must not do anything without being asked.
To greet, write
HELLOIM name,
with name being your canonical WAY element.
You will be welcomed with
HELLOIM name,
likewise.
To send post, write
FORYOU message-count.
Then for each piece,
UNE line-count, and then it.
To receive post, write
ANYFORME?.
You will get a reply of
FORYOU message-count.
Then for each piece,
UNE line-count, and then it.
To close cleanly, write
BYEFORNOW.
You will get a reply the same.