Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
U
uva
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Taddeüs Kroes
uva
Commits
427e385d
Commit
427e385d
authored
Mar 11, 2011
by
Taddeüs Kroes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Telematica ass1: Fixed typo's.
parent
d870a0f3
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
5 deletions
+4
-5
telematica/ass1/doc/assignment.rst
telematica/ass1/doc/assignment.rst
+2
-3
telematica/ass1/doc/implementation.rst
telematica/ass1/doc/implementation.rst
+2
-2
No files found.
telematica/ass1/doc/assignment.rst
View file @
427e385d
...
@@ -50,9 +50,8 @@ Protocol specification
...
@@ -50,9 +50,8 @@ Protocol specification
----------------------
----------------------
The instructions of this assignment required that the client and server should
The instructions of this assignment required that the client and server should
communication according to a given protocol. The protocol [4]_ is not further
communicate according to a given protocol. Because the protocol [4]_ is already
discussed in this report, since the protocol is described clearly and it would
described clearly, we did not add it to this report.
be redundant to add it to the report.
.. [4] Client / server protocol:
.. [4] Client / server protocol:
http://staff.science.uva.nl/~mlankamp/2011/Telematica/protocol.desc
http://staff.science.uva.nl/~mlankamp/2011/Telematica/protocol.desc
...
...
telematica/ass1/doc/implementation.rst
View file @
427e385d
...
@@ -207,10 +207,10 @@ In order to create a list of currently active users, we used an dictionary based
...
@@ -207,10 +207,10 @@ In order to create a list of currently active users, we used an dictionary based
on the client's address tuple (ip address, port). To check if a user does not
on the client's address tuple (ip address, port). To check if a user does not
take the nickname of an existing user, we simply iterate over the list of active
take the nickname of an existing user, we simply iterate over the list of active
users and compare the name of each user with the requested nickname. If it
users and compare the name of each user with the requested nickname. If it
exists, return a negative response
, otherwise
if the nickname is valid according
exists, return a negative response
. Otherwise,
if the nickname is valid according
to the protocol, return a positive response. It is possible to build an index
to the protocol, return a positive response. It is possible to build an index
for the name lookup, but that optimization is not worth it as long as there
for the name lookup, but that optimization is not worth it as long as there
aren't many clients connected. And if there are many clients connected, there
aren't
that
many clients connected. And if there are many clients connected, there
are more important scalability problems to solve (e.g. better socket
are more important scalability problems to solve (e.g. better socket
multiplexing, synchronisation between different server and load balancing).
multiplexing, synchronisation between different server and load balancing).
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment