I recently wanted to try out communication messages across 2 computers over the internet and this project does exacly that. It makes one computer into a sever and another into a client so that they can communicate over the network.
I recently wanted to try out communication messages across 2 computers over the internet and this project does exacly that. It makes one computer into a sever and another into a client so that they can communicate over the network.
I made a terminal based program for communication between 2 computers!!
This project mainly uses the the socket library but it also uses threading and requests library.
I mainly learned how to send data from one computer to another and also taking input from the terminal. I wanted to make this for a long time. Anyway It was a very fun expirience building this.
Hello, Everyone! Today I have finally finished making this project. It honestly went smoother than I thought. I also figured out why it wasn’t printing the recived messages before it was because I forgot start the thread for them. Opsie. But anyways after getting that fixed I just tidied up the Code and added some some text for help with -h and I am finally done!
Log in to leave a comment
Hello again everyone! This time I was able to impliment most the code for sending data across 2 computers. I still though have a problem with sendng data. This is mostly a threading or blocking issue. But I will work on this next.
Log in to leave a comment
Hello, everybody! Today wrote the base code. I encountered a few problems while working with new libraries. Mainly with argparse due to me using a 6 year old tutorial. But I now have a good working code for accepting user arguments from command line.
Log in to leave a comment