Final answer:
In a Telnet session between Host A and Host B, segments are sent when characters are typed. For the given scenario, a segment is sent for the letter 'L' and another segment is sent for the letter 'J', resulting in a total of 2 segments. The sequence and acknowledgment numbers for the Telnet application are shown in the diagram.
Step-by-step explanation:
Telnet Session between Host A and Host B:
In a Telnet session between Host A (client) and Host B (server), each character typed by Host A will be sent to Host B. Host B will then send back a copy of each character, which will be displayed on the Telnet screen of Host A. Let's consider the scenario where Host A types the letter 'L' and then the letter 'J'.
The starting sequence numbers are 53 for the client and 64 for the server. When Host A types the letter 'L', a segment is sent from the client to the server with the letter 'L' and the sequence number 53. Now, Host B will send back an acknowledgment with the sequence number 54.
Next, when Host A types the letter 'J', another segment is sent from the client to the server with the letter 'J' and the sequence number 55. Host B will respond with an acknowledgment with the sequence number 56.
In total, 2 segments are sent between the client and server during this Telnet session.
Sequence and Acknowledgment Numbers:
Here is a diagram showcasing the sequence and acknowledgment numbers for the Telnet application:
+------------------------+-------------------------------+
| FROM A TO B | FROM B TO A |
+------------------------+-------------------------------+
| Sequence: 53 | Acknowledgment: 54 |
| Data: L | |
+------------------------+-------------------------------+
| Sequence: 55 | Acknowledgment: 56 |
| Data: J | |
+------------------------+-------------------------------+