Professional Documents
Culture Documents
4 Networking
4 Networking
Networking /
Socket Programming
Summery of your comments
• Issues that I accept: Last but not least:
• Lab=5 ስትቀልድ ጩባውን ትመስላለህ?
• Blackboard=2
• Let’s discuss & decide together:
• Quiz (-ve=3, +ve=2):-
• Speed of teaching (-ve=2,+=2):-
• Slide (-ve=1, +ve=2):-
• Sudden decision: Quiz + tearing paper (-ve=1):-
• Needs my reflection:
• Test, final exam & grade related (6)
• About other instructors (4)
• You are good instructor (Thank you very much!)
6
AP, By: Wondwossen E.
Client / Server Computing
Simple steps for creating Client/Server Computing is
1. The Server creates a socket bound to a specific port number
2. The Server listens to the socket for a client to make connection.
3. The client tries to connect to the server by specifying the hostname (IP) and port
number on which the server is running.
4. If everything goes well, the server accepts the connection
❖ Upon acceptance, the server gets a new socket bound to the same local port and also has its
remote endpoint set to the address and port of the client.
❖ It needs a new socket so that it can continue to listen to the original socket for connection
requests while tending to the needs of the connected client.
5. On the client side, if the connection is accepted, a socket is successfully created
and the client can use the socket to communicate with the server.
6. The client and server can now communicate by writing to or reading from their
sockets.