diff --git a/specs/.idea/.gitignore b/specs/.idea/.gitignore new file mode 100644 index 0000000..3413c68 --- /dev/null +++ b/specs/.idea/.gitignore @@ -0,0 +1,8 @@ +# Default ignored files +/shelf/ +/workspace.xml +# Datasource local storage ignored files +/../../../../../../../../../../../:\Users\Nicolas\OneDrive\Ecole\RES\Labo\Lab03\Teaching-HEIGVD-RES-2021-Exercise-Protocol-Design\specs\.idea/dataSources/ +/dataSources.local.xml +# Editor-based HTTP Client requests +/httpRequests/ diff --git a/specs/.idea/misc.xml b/specs/.idea/misc.xml new file mode 100644 index 0000000..ca489bb --- /dev/null +++ b/specs/.idea/misc.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/specs/.idea/modules.xml b/specs/.idea/modules.xml new file mode 100644 index 0000000..304bf2d --- /dev/null +++ b/specs/.idea/modules.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/specs/.idea/specs.iml b/specs/.idea/specs.iml new file mode 100644 index 0000000..d6ebd48 --- /dev/null +++ b/specs/.idea/specs.iml @@ -0,0 +1,9 @@ + + + + + + + + + \ No newline at end of file diff --git a/specs/.idea/vcs.xml b/specs/.idea/vcs.xml new file mode 100644 index 0000000..6c0b863 --- /dev/null +++ b/specs/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/specs/Meridas/PROTOCOL.md b/specs/Meridas/PROTOCOL.md new file mode 100644 index 0000000..bcc4f99 --- /dev/null +++ b/specs/Meridas/PROTOCOL.md @@ -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. \ No newline at end of file