Skip to content

vignesh-0512/socket-programming

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

Socket Programming Project

GitHub last commit GitHub repo size GitHub issues GitHub forks GitHub stars GitHub license

Overview

This project demonstrates a simple TCP/IP model using socket programming in Python. The model consists of a client and a server that communicate over a network.

Prerequisites

Before you begin, ensure you have met the following requirements:

  • Python 3.x installed on your local machine.
  • socket
  • Git installed on your local machine.

Installation

To set up the project on your local machine, follow these steps:

Clone the repository: git clone https://github.com/vignesh-0512/socket-programming.git

Navigate to the project directory: cd socket-programming

Usage To run this model, you need to open two terminals:

To start TCP/IP model move to tcp folder command: cd tcp Start the client: python client.py

Start the server: python server.py

To work with UDP move to udp folder cd udp

Start server: python server.py Start client: python client.py

Once both the server and client are running, you can enter text in the client terminal. The text will be sent to the server.

Project Structure

client.py: Contains the client-side implementation. server.py: Contains the server-side implementation.

How It Works

  1. The server listens for incoming connections from clients.
  2. The client connects to the server and sends text input.
  3. The server receives the text input and can process or display it.

Contributing

If you want to contribute to this project, please follow these steps:

  1. Fork the repository.
  2. Create a new branch (git checkout -b feature-branch).
  3. Make your changes and commit them (git commit -m "Add some feature").
  4. Push to the branch (git push origin feature-branch).
  5. Create a pull request.

Contact If you have any questions or feedback, please feel free to reach out: Email: vignesh.muga@gmail.com GitHub: vignesh-0512

This is a simple example that uses a client-server architecture with a command-line interface (CLI). Advanced features with a graphical user interface (GUI) will be published soon.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages