Skip to content

pycrash/socket_programming

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About the Project

This project was build to learn the fundamentals of socket programming. Berkeley socket interface is used for implementing whatever I learned. The main features of this program are :

  1. Implemented client server paradigm.
  2. Functionality of sending and receiving text messages, basically a chat application.
  3. Functionality of sending various files such as text/images/audio/video.

Screenshots

Running the server and client on same machine Product Name Screen Shot

Sending a file Product Name Screen Shot

Sending an txt file Product Name Screen Shot

Sending a image Product Name Screen Shot

Sending a audio file Product Name Screen Shot

Sending a video file Product Name Screen Shot

Chatting with the server Product Name Screen Shot

Installation

  1. Download the repository and unzip it
  2. Open the terminal run the server and give a port no.
./server portno
  1. Open another terminal and run the client. If you are running the code in same machine then give address as 127.0.0.1 or if you are running the client in another machine then pass the server ip adderess (Can be found usisng ifconfig). Make sure that the port no. in both the cases are same
./client 127.0.0.1 portno
  1. Enjoy

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages