Added content to the protocol sections, now they are hopefully more readable and understandable
This commit is contained in:
parent
ed44db9fe1
commit
812ead6c1e
1 changed files with 44 additions and 3 deletions
45
report.lyx
45
report.lyx
|
@ -2239,12 +2239,22 @@ There are two main types of protocols with help of which computer communication
|
||||||
network layer protocols and HTTP which is the most prominent application
|
network layer protocols and HTTP which is the most prominent application
|
||||||
layer protocol.
|
layer protocol.
|
||||||
The transport layer protocols are commonly used to transport application
|
The transport layer protocols are commonly used to transport application
|
||||||
layer protocols such as HTTP.
|
layer protocols such as HTTP, FTP and IRC.
|
||||||
TCP and UDP cannot be used on their own without an application layer protocol
|
TCP and UDP cannot be used on their own without an application layer protocol
|
||||||
on top of them.
|
on top of them.
|
||||||
Application layer protocols such as HTTP on the other hand need a transport
|
Application layer protocols such as HTTP on the other hand need a transport
|
||||||
layer protocol in order to work.
|
layer protocol in order to work.
|
||||||
|
\end_layout
|
||||||
|
|
||||||
|
\begin_layout Standard
|
||||||
|
In order for the GGS to communicate with clients over a network, both an
|
||||||
|
application layer protocol and a network layer protocol must be chosen.
|
||||||
|
This section outlines some candidates for application and network layer
|
||||||
|
protocols for the GGS, along with a motivation as to why the described
|
||||||
|
protocol was or was not chosen.
|
||||||
|
\end_layout
|
||||||
|
|
||||||
|
\begin_layout Standard
|
||||||
\begin_inset ERT
|
\begin_inset ERT
|
||||||
status open
|
status open
|
||||||
|
|
||||||
|
@ -2258,6 +2268,24 @@ textbf{HTTP}}{Hyper Text Transport Protocol, a network protocol commonly
|
||||||
used to deliver web pages}
|
used to deliver web pages}
|
||||||
\end_layout
|
\end_layout
|
||||||
|
|
||||||
|
\begin_layout Plain Layout
|
||||||
|
|
||||||
|
|
||||||
|
\backslash
|
||||||
|
nomenclature{
|
||||||
|
\backslash
|
||||||
|
textbf{FTP}}{File Transfer Protocol}
|
||||||
|
\end_layout
|
||||||
|
|
||||||
|
\begin_layout Plain Layout
|
||||||
|
|
||||||
|
|
||||||
|
\backslash
|
||||||
|
nomenclature{
|
||||||
|
\backslash
|
||||||
|
textbf{IRC}}{Internet Relay Chat}
|
||||||
|
\end_layout
|
||||||
|
|
||||||
\end_inset
|
\end_inset
|
||||||
|
|
||||||
|
|
||||||
|
@ -2279,6 +2307,14 @@ Many online games use UDP as the carrier for their application layer protocol.
|
||||||
thus very suitable for media streaming for example.
|
thus very suitable for media streaming for example.
|
||||||
\end_layout
|
\end_layout
|
||||||
|
|
||||||
|
\begin_layout Standard
|
||||||
|
The need to implement custom error checking, and possibly correction makes
|
||||||
|
UDP a bad candidate for the GGS.
|
||||||
|
If error checking and correction were to be implemented in the GGS project,
|
||||||
|
UDP would be a good candidate, however the time neccessary to implement
|
||||||
|
these features makes this option unfeasable.
|
||||||
|
\end_layout
|
||||||
|
|
||||||
\begin_layout Subsection
|
\begin_layout Subsection
|
||||||
TCP
|
TCP
|
||||||
\end_layout
|
\end_layout
|
||||||
|
@ -2289,7 +2325,12 @@ For reliable transfers TCP is often used on the Internet.
|
||||||
missing in UDP.
|
missing in UDP.
|
||||||
This ensures the consistency of data, but also makes the transfer slower
|
This ensures the consistency of data, but also makes the transfer slower
|
||||||
than if UDP had been used.
|
than if UDP had been used.
|
||||||
|
TCP was chosen for the GGS as the network layer protocol even though TCP
|
||||||
|
can be considerably slower than UDP.
|
||||||
|
The error checking mechanisms in TCP are reason enough to use TCP instead
|
||||||
|
of UDP in the GGS prototype.
|
||||||
|
The implementation of UDP is still possible, it will however not appear
|
||||||
|
in the prototype.
|
||||||
\end_layout
|
\end_layout
|
||||||
|
|
||||||
\begin_layout Subsection
|
\begin_layout Subsection
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue