Share what you can do is we can put a debugging statement out here whenever you connect let's say print
connected to server.
Right.
So if you receive data while to send data.
OK so and then so what Again there was a case or whatever you input from the user.
You can just send it out.
That's it.
OK.
So you have the target data right.
All right so with this we are quite familiar with this chat client and what server.
So now we can run this up and just check whether things are working.
So the server is bound for 2000 servers listening to clients or for clients and it's quiet.
The minute the minute this client runs it is going into the server and it says call a client from this
particular address 9:24.
Right.
Now all I can do is what I need to do is I need to send data from the server.
Let's say hi.
So client let me see the server.
A client says hi.
If I send from here.
Hello.
User input server said hello.
Hi what's up.
Things going on time there
right now coming to the client.
Oh everything has come from the server.
Yes dude.
Life's good.
So it comes.
OK so I knew I needed to put that.
Anyway.
That's OK.
So you know what you need to do.
You need to say client colon so that you get that in a proper representation form.
So that's exactly what about a client of the server can be done and how they can be run and stuff like
that.
Right.
So here we have a chat.
But OK so check what is something we're oh you know many times you go on to a Web site like that like
let's say for example you go to a particular Web site and when you go to the Web site or where there's
a pop up which says how can we help you out.
OK.
So I'm not sure which website has that.
You know how can we help you.
And then it comes up and you can say OK I just need this help.
So basically you're sending data to the server.
So it's a chat by the servers.
It's you're just sending it to the server.
You're not chatting with somebody you're sending data.
Once they try and connect to a particular call you know to another particular guide.
Until then it works to the checkpoint.
Yep.
So till then.
So this is about chat but we can now head on to our chat app where you can have multiple clients connecting
talking to each other which we're going to do with the next application now.
All right.
So then have a learning.