You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a straightforward chat project that enables the exchange of messages between a server and a single client. It is implemented in Python, utilizing socket and threading concepts.
3
+
This is a simple chat project that enables the exchange of messages between a server and a single client. It is written in Python and utilizes the concepts of sockets and threading.
4
4
Requirements
5
5
6
-
To run this project, ensure that you have Python 3.7.6 or a newer version installed. Additionally, both the server and client should be set up on a local area network.
6
+
To run this project, you need to have Python 3.7.6 or a newer version installed. Additionally, the server and client must be set up on a local area network.
7
7
Running the Project
8
8
9
9
To run the project, you will need two computers: one for the server and one for the client.
10
10
Setting up the server:
11
11
12
-
If you are using Python 3.7.6 or a later version, start the server by executing the following command:
12
+
If you are using Python 3.7.6 or a newer version, run the following command to start the server:
13
13
14
14
bash
15
15
16
16
$ python3 server.py
17
17
18
18
Setting up the client:
19
19
20
-
Set up a client to view messages on the terminal by executing the following command:
20
+
You will also need to set up a client to see messages on the terminal. To do this, run the following command:
21
21
22
22
bash
23
23
24
24
$ python3 client.py
25
25
26
-
Make sure to follow these steps on separate computers to enable communication between the server and client.
26
+
Ensure that you follow these steps on separate computers to enable communication between the server and client.
27
+
Contribution
27
28
28
-
Feel free to contribute, report issues, or suggest improvements!
29
+
Feel free to contribute to the development of this simple socket chat project by creating issues or pull requests. Your feedback and enhancements are welcome!
0 commit comments