Skip to content

This simple application demonstrates python's socket feature (minimum)

Notifications You must be signed in to change notification settings

sammsulhoq/python-socket-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Python's socket programming

The two scripts in this project demonstrate the use of Python's socket programming and doesn't include all the functionalities and features. This is just for reference and more functionality could be added based on requirement. Follow the socket programming documentation from here.


Tech Stack


Running The Application

In order to run the application, follow the steps:

  • Clone the project into a desired folder location or workspace.
  • Run the following command to start the server: python server.py
  • Run the following command to start the client: python client.py
  • Once the client is running, continue pressing the RETURN key to send the messages to server. If you want, you can modify the send() method to send custom messages. Remember, send !DISCONNECT as the last message to terminate the communication.

About

This simple application demonstrates python's socket feature (minimum)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages