1. Make the application layer as simple as possible as it didn’t have lot to do with computer networks. I have done that by creating a simple command-line interface (terminal).
2. The transport Layer was also done by me. I have implemented a hybrid of User Datagram Protocol which is reliable. It is a simple connectionless transmission model with a minimum of protocol mechanism and it uses datagrams for sending messages.
3. Network Layer …show more content…
I have designed the transport layer and therefore I had no problems with the interface as it was a buffer that needed to be printed.
Application Layer
Standard Document
The Transport layer is the fourth layer in the architecture, it borders with the APP layer on the upper side and on the lower side with the NET Layer. Transport layers’ protocols provide transparent host-to-host communication services for applications. The Transport layer relieves the two communicating entities from any concerns about the way the transfer of data is achieved(reliable/unreliable,cost-effective?). The Transport protocol used here is User Datagram Protocol, it is a hybrid to be made as reliable as possible.
Services provided
1. This transport layer provides a connectionless-oriented service; it maps a request for transmission onto a request to the connectionless-mode service.
2. There is one server, and multiple clients that can be connected to the same server.
Picture 6.
3. The segmentation and reassembly are not provided by the transport layer, the size depends and is limited by the size of the buffer used.
4. Connection establishment and connection release:
4.1