INTERVIEW QUESTIONS
NETWORKING
DETAILS
Question: In the TCP client-servel model, how does the three-way handshake work in opening connection?
Answer: The client first sends a packet with sequence "x" to the server. When the server receives this packet, the server will send back another packet with sequence "y", acknowledging the request of the client. When the client receives the acknowledgement from the server, the client will then send an acknowledge back to the server for acknowledging that sequence "y" has been received.
|
Question:
In the TCP client-servel model, how does the three-way handshake work in opening connection?
Answer:
The client first sends a packet with sequence "x" to the server. When the server receives this packet, the server will send back another packet with sequence "y", acknowledging the request of the client. When the client receives the acknowledgement from the server, the client will then send an acknowledge back to the server for acknowledging that sequence "y" has been received. Source: CoolInterview.com
Client sends a request for connection. Then both agrees upon the connection rules, eg how much data have to be send,connection mode etc. Then the server sends a ack that the connection has been stablished and is ready to transfer the data. Source: CoolInterview.com
Answered by: Alok Kr. Singh | Date: 12/15/2009
| Contact Alok Kr. Singh
In the TCP client-servel model, how does the three-way handshake work in opening connection?
The client first sends a packet with sequence "x" to the server. When the server receives this packet, the server will send back another packet with sequence "y", acknowledging the request of the client. When the client receives the acknowledgement from the server, the client will then send an acknowledge back to the server for acknowledging that sequence "y" has been received.
Client sends a request for connection. Then both agrees upon the connection rules, eg how much data have to be send,connection mode etc. Then the server sends a ack that the connection has been stablished and is ready to transfer the data. Source: CoolInterview.com
Answered by: Bismillah Ahmed | Date: 7/13/2010
| Contact Bismillah Ahmed
If you have the better answer, then send it to us. We will display your answer after the approval.
Rules to Post Answers in CoolInterview.com:-
- There should not be any Spelling Mistakes.
- There should not be any Gramatical Errors.
- Answers must not contain any bad words.
- Answers should not be the repeat of same answer, already approved.
- Answer should be complete in itself.
|