WEBVTT

00:00.360 --> 00:07.650
Share what you can do is we can put a debugging statement out here whenever you connect let's say print

00:09.030 --> 00:11.450
connected to server.

00:12.650 --> 00:14.130
Right.

00:14.580 --> 00:19.450
So if you receive data while to send data.

00:19.500 --> 00:27.490
OK so and then so what Again there was a case or whatever you input from the user.

00:27.820 --> 00:29.250
You can just send it out.

00:29.280 --> 00:30.070
That's it.

00:30.340 --> 00:30.930
OK.

00:30.970 --> 00:34.840
So you have the target data right.

00:34.900 --> 00:40.890
All right so with this we are quite familiar with this chat client and what server.

00:40.960 --> 00:46.800
So now we can run this up and just check whether things are working.

00:46.890 --> 00:52.080
So the server is bound for 2000 servers listening to clients or for clients and it's quiet.

00:52.090 --> 00:59.410
The minute the minute this client runs it is going into the server and it says call a client from this

00:59.410 --> 01:02.140
particular address 9:24.

01:02.380 --> 01:02.920
Right.

01:05.100 --> 01:10.910
Now all I can do is what I need to do is I need to send data from the server.

01:11.010 --> 01:12.480
Let's say hi.

01:13.290 --> 01:15.070
So client let me see the server.

01:15.300 --> 01:17.130
A client says hi.

01:17.400 --> 01:19.370
If I send from here.

01:19.440 --> 01:20.370
Hello.

01:20.580 --> 01:24.950
User input server said hello.

01:25.380 --> 01:28.060
Hi what's up.

01:29.180 --> 01:30.440
Things going on time there

01:35.420 --> 01:37.300
right now coming to the client.

01:37.630 --> 01:39.810
Oh everything has come from the server.

01:40.220 --> 01:41.900
Yes dude.

01:41.930 --> 01:44.980
Life's good.

01:45.650 --> 01:46.700
So it comes.

01:46.880 --> 01:49.020
OK so I knew I needed to put that.

01:49.160 --> 01:49.390
Anyway.

01:49.400 --> 01:50.280
That's OK.

01:50.330 --> 01:51.600
So you know what you need to do.

01:51.600 --> 01:56.560
You need to say client colon so that you get that in a proper representation form.

01:56.840 --> 02:01.940
So that's exactly what about a client of the server can be done and how they can be run and stuff like

02:01.940 --> 02:02.560
that.

02:02.630 --> 02:02.980
Right.

02:03.050 --> 02:04.930
So here we have a chat.

02:04.980 --> 02:13.140
But OK so check what is something we're oh you know many times you go on to a Web site like that like

02:13.140 --> 02:17.910
let's say for example you go to a particular Web site and when you go to the Web site or where there's

02:17.910 --> 02:20.780
a pop up which says how can we help you out.

02:21.090 --> 02:21.840
OK.

02:21.840 --> 02:25.630
So I'm not sure which website has that.

02:25.860 --> 02:28.120
You know how can we help you.

02:28.230 --> 02:32.820
And then it comes up and you can say OK I just need this help.

02:32.820 --> 02:35.120
So basically you're sending data to the server.

02:35.220 --> 02:37.760
So it's a chat by the servers.

02:38.010 --> 02:40.630
It's you're just sending it to the server.

02:40.830 --> 02:43.430
You're not chatting with somebody you're sending data.

02:43.480 --> 02:49.750
Once they try and connect to a particular call you know to another particular guide.

02:49.800 --> 02:51.910
Until then it works to the checkpoint.

02:52.250 --> 02:52.730
Yep.

02:52.950 --> 02:54.090
So till then.

02:54.140 --> 03:01.920
So this is about chat but we can now head on to our chat app where you can have multiple clients connecting

03:02.700 --> 03:06.480
talking to each other which we're going to do with the next application now.

03:06.720 --> 03:07.280
All right.

03:07.440 --> 03:08.310
So then have a learning.
