Skip to content

Commit 97f2331

Browse files
author
parita pooj
committed
README
1 parent 71097fc commit 97f2331

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

socket-programming/README

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,16 @@ What it does?
44
Ever thought of chatting with your roommates while you were in the same room without using internet? Well, that is what this code does.
55

66
What are you expected to do?
7-
So, decide who all amongst you wants to chat and connect all your machines with LAN cable. The more, the merrier! All you got to do now is choose who�d like to be the server amongst you and your roommates(sorry, there can be only one here). And yeah, you can still be a client and catch your friends bitching about you. So, the user acting as server is expected to run the code for the server before the clients run the code for the clients on theirs.
7+
So, decide who all amongst you wants to chat and connect all your machines with LAN cable. The more, the merrier!
8+
All you got to do now is choose who�d like to be the server amongst you and your roommates(sorry, there can be only one here).
9+
And yeah, you can still be a client and catch your friends bitching about you.
10+
So, the user acting as server is expected to run the code for the server before the clients run the code for the clients on theirs.
811
So, when this is done, just chat.
912
Note: You are expected to have installed python in your respective machines. If you haven�t, you can find it here: http://python.org/download/
1013

1114
Features I tried to include:
12-
� Each client can run the �client� code in as many different shells as he/she wants from the same machine and still assume a unique identity for each shell. (if you are thinking you can fool your friends here, you are forgetting that you�re in the same room. You can use a longer wire and be out of your room if you�re so keen on it, though.)
15+
� Each client can run the �client� code in as many different shells as he/she wants from the same machine and still assume a unique identity for each shell.
16+
(if you are thinking you can fool your friends here, you are forgetting that you�re in the same room. You can use a longer cable and be out of the room if you�re so keen on it, though.)
1317
� The server is also allowed to be a client by running the �client� code on a different shell.
1418
� You can view all what your friends have got to say with their names preceding their message.
1519
� The server displays the whole updated on-going conversation.

0 commit comments

Comments
 (0)