In a short paragraph, explain the transmission of data from a client and a serve
ID: 3672300 • Letter: I
Question
In a short paragraph, explain the transmission of data from a client and a server. Explain the content (in general) of each message and the direction (from client to server or server to client).Assume that the client initiates the communication session. Include the exchange of messages in a TCP 3-way handshake.Assume that the client knows the IP address of the server already. Assume that the entire "data" to be transmitted from the client to the server is simply the message "hello" and will fit in one TCP packet.Assume that once the client sends the message successfully, that it tears down the connection and isn't going to leave it open.
Explanation / Answer
Three way handshaking is a process to establish a connection between client and server. In this three way handshaking process, client sends a SYN message to server. If server recives request it send back SYN message with an acknowledgement. If client receives an acknowledgement within a span of time from the server, the connection would be established between client and server. The client will send actual message, here actual message is "hello". If server receives the message from client it will send back an acknowledgement to client then connection would be terminate.