Question: Write a TCP client and server socket program (you can modify the program discussed in class) to echo the messages. The client should send CS132/EECS148-ComputerNetwork
Write a TCP client and server socket program (you can modify the program discussed in class) to echo the messages. The client should send CS132/EECS148-ComputerNetwork to the server. Once the server receives this message, it should echo it (send the message back) to the client.
1,Use Wireshark with appropriate filter to capture all the packets exchanged for this TCP session (starting from the TCP connection setup to the connection termination). Also, provide a screenshot of the Wireshark output showing all the packets.
2, How many packets are exchanged in total?
3, Briefly explain the captured packets (packet types, flag set, payload size, header size, IP addresses,MAC addresses, source socket, destination socket, etc.)
4, Pick any one TCP packet from the captured list and provide a detail description of that packet explaining the fields in TCP header, IP header, Ethernet frame header and payload. Provide proper reasoning on your observations about these field values. You should also provide a screenshot of that packet with details.
5, Perform using UDP.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
