Socket Programming Tutorial No 6 : Client code and Executing Chat Application.
Hello guys, this is JJ insta: jj_this_is.
Today we will write the code on Client side.
I have explained the command line arguments like portno and server's Ip address.
ifconfig gives you the IP address of the server machine which you need to pass as an command line argument to connect to a already powered on Server on a different machine.
If you want to simulate the conditions on the same machine then you need to use the loopback address i.e 127.0.0.1
It was great teaching you all guys about Client- Server Chat apllication.
Here are the code files(Caution : I strongly recommend to type in the code , Use this file only if you require.)
https://drive.google.com/drive/folder...
Like , Share and Subscribe.
JJ Here!!
Happy Learning!!