Nt1310 Unit 3 Assignment 1 Using Connectionless Communication

Words: 644
Pages: 3

3.1)

Request send by client to a server =200 byte Response =5000 byte

I. Using connectionless communication (for example UDP)
Message transmission time= latency+ length/data transfer rate Latency= 5ms
Request sent by client (i.e.. length of the message) =200 bytes= 200 * 8 bits=1600bits
Data transfer rate=10mbps= 10 * 10^6 bit/sec
MTU= 1000bytes
No. of frames=1 for request message

Request message transmission time = 5+((1600)/(10*10^6))*1000 = 5.16
Length of response =5000 bytes
MTU =1000 bytes,
No. of frames= 5 for response

Response transimission time =5 frames*[5+((1000*8)/(10*10^6))*1000]
…show more content…
Virtual terminal access (for example, Telnet):
TCP is more suitable for this application, because of its reliability, long term of session and unstructured arrangement of characters.

II. File transfer (for example, FTP):
In file transferring protocol we will use huge amount of data to transfer. If we use UDP then there may be a chance of losing of data, so TCP is best form of implementation

III. User location (for example, RWHO, finger):
This application has short messages like location of the user e.t.c., so we can use connection-less protocol (UDP) for sending messages portably.

IV. Information browsing (for example, HTTP):
Any type of protocol can be used, as it is HTTP huge amount of data will be transferred, so connection oriented is preferable. We can browse what every information we want in browsing.

V. Remote procedure call:
In remote procedure call there are many clients use remotely sometimes there will be timeout in this application, so connection-less (UDP) protocol is