Inspiration

I always wanted to connect Arduino Devices Over the Network. But I didn't know how to do it. So I started learning Socket Programming with C. During the process I got an idea that why shouldn't I make an app which may help us chat anonymously within our college over our own server avoiding all privacy concerns.

What it does

It can send and receive messages over the network with the support of multiple users at the same time and the most exciting thing is with we can do it in our Command Prompt/ Terminal. Also it is cross platform.

How we built it

With the help of Socket Programming in C language using Winsock. h for Windows and socket. h for Linux.

Challenges we ran into

Major Problem I faced that it was working only on local network connected with same Wi-fi Connection. But I wanted to work it over universal network 'Internet'. So I found ngrok, A tunneling software to tunnel a link directly to my Pc which is acting as a TCP server.

Accomplishments that we're proud of

Finally I made a working Chat App that works over the Internet.

What we learned

  1. How Server is made using C language which can listen to connection request and sends replies to client.
  2. How a Client App works and how to connect it with a working Server.
  3. How INTERNET Works.
  4. How TCP and UDP works.
  5. What is Port Forwarding and how tunneling protocol works.
  6. In one word -- A lot

What's next for Chatting_with_CMD

I'm planning to extend this App on a Webpage and make it a web Application (Web chatting App). So that it will accessible easily to all of us and can be styled easily using CSS.. For that I m planning to use Node.Js and Plain-Javascript.

After that I may connect to some Arduino Devices to detect and send some physical information over the network. Then this simple chatting App can be used to send actual physical information over our friends detected with some sensor.

Built With

  • c-programming
  • socket-api
+ 13 more
Share this project:

Updates