A Recreational Post System/Simple TCP: Difference between revisions

Olive (talk | contribs)
mNo edit summary
Olive (talk | contribs)
m word choice change
 
(3 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 messagges, write
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 message,
Then for each piece,
<code>UNE ''line-count''</code>, and the message.
<code>UNE ''line-count''</code>, and then it.


To receive messages, write
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>HEREYOUGO ''message-count''</code>.
<code>FORYOU ''message-count''</code>.
<br/>
<br/>
Then for each message,
Then for each piece,
<code>UNE ''line-count''</code>, and the message.
<code>UNE ''line-count''</code>, and then it.


To close cleanly, write
To close cleanly, write
<code>IMOFFNOW</code>.
<code>BYEFORNOW</code>.
<br/>
<br/>
You will get a reply of
You will get a reply the same.
<code>OKSEEYA</code>.

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.