Tutorial Socket Programming
Tutorial Socket Programming
Tutorial Socket Programming
2. Assign transport
endpoint an 3. Determine address
address: bind() of server
CONNECTION-ORIENTED SERVICE
connection request: socket()
2. Assign transport
2. Assign transport
endpoint an
endpoint an
address (optional):
address: bind( )
bind( )
3. Announce willing
to accept connections: 3. Determine address
listen( ) of server