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 :
- Implemented client server paradigm.
- Functionality of sending and receiving text messages, basically a chat application.
- Functionality of sending various files such as text/images/audio/video.
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
- Download the repository and unzip it
- Open the terminal run the server and give a port no.
./server portno
- 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
- Enjoy