Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP]Protocol created #29

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions specs/.idea/.gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions specs/.idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions specs/.idea/modules.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions specs/.idea/specs.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions specs/.idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 16 additions & 0 deletions specs/Meridas/PROTOCOL.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
What transport protocol do we use?TCP
How does the client find the server (addresses and ports)?
Server has a static adress/port combination
Who speaks first?Client
What is the sequence of messages exchanged by the client and the server? (flow)
Client : request connexion
Server : allow connexion, available operations
Client : request operation operand1 operand2
Server : Result (Value, noErr)
Client : Close connexion
What happens when a message is received from the other party? (semantics)
Message parsed and interpreted
What is the syntax of the messages? How we generate and parse them? (syntax)
Operations are separated by a blank space
Who closes the connection and when?
Client when he wants to quit.