559 views
4 votes
4 votes

Consider 3 employees Ramesh, Suresh and Mahesh using three different computers working under Account-Network serviced by a single mail server. Assume Ramesh wish to send e-mail to Sonali, Suresh to Pooja and Mahesh to Vidhi, where Sonali, Pooja and Vidhi working under HRNetwork. What is the worst case and best case number of TCP connections that should be opened to enable this e-mail exchange if all the persons use a non-HTTP e-mail service?

1 Answer

0 votes
0 votes

Points:

1. For sending the email, Ramesh, Mahesh and Suresh would have to open separate TCP connections to the mail server in all cases under SMTP protocol.

2.For receiving the emails, Sonali, Pooja and Vidhi would have to open 3 separate TCP connections with their mail server in all cases under POP/IMAP protocol.

3. SMTP uses persistent TCP connections.

Worst Case:

All three persons send the email at different times. At each time one TCP connection would be required between sender's mail server and recipient's mail server. So total 3 TCP connections in worst case.

Total no. of TCP connections required: 3(from client to mail server) + 3 (From sender's mail server to recipient mail server) + 3(from mail server to recipients) = 9 TCP connections

Best Case:

All three persons send the emails at the same time.SMTP uses persistent TCP connections. So one TCP connection will be opened between Sender's mail server and recipients' mail server and all three emails will be sent.

Total no. of TCP connections required: 3(from client to mail server) + 1 (From sender's mail server to recipient mail server) + 3(from mail server to recipients) = 7 TCP connections

Related questions

0 votes
0 votes
0 answers
1
manvee asked Jan 15, 2019
404 views
0 votes
0 votes
0 answers
3
Matish asked Mar 20, 2018
1,173 views
How many number of frames will be actually transmitted by $A$ (including retransmission) to complete the task if ACK timer is one unit long (The ACK timer delays the send...
0 votes
0 votes
1 answer
4
Madhu M Pandurangi asked Dec 2, 2021
322 views
At a transmission rate of 20Mbps and propagation speed of 2*10^8m/s. How many meters of the cable is one-bit delay in an Ethernet interface equivalent?