TCP Client-Server Model

1
TCP Client-Server Model TCP Client-Server Model socket( ) bind( ) listen( ) accept( ) blocks until connection from client socket( ) connect( ) send( ) data request recv( ) process request recv( ) send( ) data reply three-way handshake Server Client

description

socket( ). socket( ). bind( ). listen( ). accept( ). three-way handshake. blocks until connection from client. connect( ). data request. recv( ). send( ). process request. data reply. send( ). recv( ). TCP Client-Server Model. Server. Client. - PowerPoint PPT Presentation

Transcript of TCP Client-Server Model

Page 1: TCP Client-Server Model

TCP Client-Server ModelTCP Client-Server Model

socket( )

bind( )

listen( )

accept( )

blocks until connectionfrom client

socket( )

connect( )

send( )data request

recv( )

process request

recv( )send( )data reply

three-way handshake

Server Client