WEBVTT

00:00.210 --> 00:10.170
One question that comes into our mind is OK now how does this guy talk to this guy and to this guy let's

00:10.170 --> 00:17.830
say for example let's say let's see these two guys want to talk to each other to whatsapp Kline's they

00:17.830 --> 00:19.190
want to talk to each other right.

00:19.360 --> 00:21.460
So let me come to this particular.

00:21.570 --> 00:26.920
So this client wants to talk to this client ok or something like this Klein wants Dr. Klein.

00:26.920 --> 00:31.240
So two clients want to talk to each other they are both connected to the Internet but they're going

00:31.240 --> 00:32.820
to talk why are the server right.

00:33.010 --> 00:33.820
OK.

00:33.820 --> 00:36.340
So how are they going to talk to each other.

00:36.400 --> 00:41.500
They can talk to each other or a client which is connected to the Internet.

00:41.730 --> 00:42.400
OK.

00:42.580 --> 00:44.140
You need to talk to it.

00:44.140 --> 00:52.750
Why are particular you call it as you know a particular address or something like that that in such

00:52.750 --> 00:54.300
a way that they are identified.

00:54.570 --> 01:00.730
Betsy For example if you are making a call from home to just as I say you are a client and you want

01:00.730 --> 01:07.320
to request the shopkeeper instead of going to the shopkeeper's address you want to make a call and ask

01:07.330 --> 01:09.700
the shopkeeper to deliver it to you.

01:09.720 --> 01:10.420
Right.

01:10.570 --> 01:11.530
Now comes the question.

01:11.590 --> 01:12.230
OK.

01:12.370 --> 01:16.430
How do I contact the shopkeeper.

01:17.030 --> 01:20.320
Again I can contact the shop purchased by only one week.

01:20.630 --> 01:27.410
What is a way that I can contact the shopkeeper I can contact the shopkeeper by knowing his phone number.

01:27.710 --> 01:28.430
Right.

01:28.520 --> 01:29.670
I know his phone number.

01:29.780 --> 01:32.190
I ring his number he gets.

01:32.300 --> 01:34.350
Now how does he know.

01:34.460 --> 01:36.070
Where should he deliver.

01:36.110 --> 01:43.790
Because I tell him my address so I have an address and I have his phone number which makes me contact

01:43.790 --> 01:48.950
him and he can connect me right and he can get back to the same way.

01:48.950 --> 01:54.920
We need some kind of an address if one client needs the service which is basically the client needs

01:54.920 --> 01:58.720
to know the so-but IP to which he can talk to.

01:58.740 --> 02:01.230
So he will say I want to talk to the server.

02:01.460 --> 02:02.170
OK.

02:02.220 --> 02:07.740
When I talked to the Zobel I am basically talking to a particular IP address.

02:07.860 --> 02:13.590
Now the Sobol when you want to talk to another client OK you send to the server and the server sends

02:13.590 --> 02:14.980
it to another client.

02:15.150 --> 02:21.040
The service of also note should also know the client's IP addresses.

02:21.060 --> 02:24.570
So you have to know the IP address of the client and the server.

02:24.570 --> 02:28.940
Both of these things are very much you know are very much needed.

02:28.930 --> 02:31.600
Say for example this client is stuck to the server.

02:31.730 --> 02:36.300
So which means he should know the IP and when the soul wants it up to the client the server should know

02:36.300 --> 02:41.660
the client side right both of them need to communicate with each other over the Internet.

02:41.670 --> 02:43.410
So you require the IP.

02:43.500 --> 02:46.910
So let's say for example you send a message from watch.

02:46.950 --> 02:52.710
OK so ABC is sending do X Y Z and ABC sends Hi.

02:52.810 --> 02:53.830
It goes to whatsapp.

02:53.830 --> 03:02.310
So now from what subscriber it has to go to ex-Vice y phone so x y z is Faunus connected to the Internet

03:02.640 --> 03:07.290
when X Y Z phone is connected to the Internet and it has an IP address.

03:07.380 --> 03:07.800
Right.

03:07.830 --> 03:13.390
X Y Z phone has an IP address now an x y z phone has an IP address.

03:13.640 --> 03:14.260
OK.

03:14.320 --> 03:16.710
It's why these phone has an IP address.

03:16.740 --> 03:20.680
Can I say because X Y Z phone has an IP address.

03:20.700 --> 03:30.250
Can I say that I can reach my message from the server to X Y Z by giving his IP address.

03:30.330 --> 03:36.810
My message can reach Tula's phone I can reach the x y z that is the list for each because every phone

03:36.810 --> 03:38.580
is Scarecrow's to every phone.

03:38.620 --> 03:41.690
The internet is compressed by its IP address.

03:41.880 --> 03:48.430
But now comes the question how can we ensure that the message reaches whatsapp on his phone.

03:48.450 --> 03:55.680
What is the message which comes from Whatsapp server comes to this phone because of the IP address but

03:56.070 --> 03:58.950
it lands up in Facebook app.

03:58.950 --> 04:00.200
It's not a good thing right.

04:00.210 --> 04:07.920
It should land in whatsapp in whatsapp client right in that WhatsApp application.

04:07.920 --> 04:10.650
It should not land up in in something else.

04:10.650 --> 04:10.950
Right.

04:10.950 --> 04:13.280
So that's something which is very important.

04:13.500 --> 04:20.880
If let's say you send a message to the wall and the Soval when he sends a message to the WhatsApp to

04:20.880 --> 04:22.630
watch up on the phone.

04:22.740 --> 04:28.620
IP address is only sufficient to reach the phone idea or vision to reach the phone.

04:28.620 --> 04:34.890
But if you want to reach from the phone if you want to reach an application a particular application

04:34.890 --> 04:40.950
on the phone you require something more than an IP address and that more than the IP address is Scalzo

04:41.070 --> 04:42.170
or number.

04:42.360 --> 04:42.740
OK.

04:42.840 --> 04:44.430
So it requires two things.

04:44.430 --> 04:54.410
First is you require IP address and four application for each applications to each applications you're

04:54.420 --> 05:02.100
required Fortnum let's say for example when I see Google got good art in OK when I request the Google

05:02.100 --> 05:11.780
server I am requesting Google server but Google all by default OK is at a port the port there is less

05:12.250 --> 05:12.860
HD.

05:12.900 --> 05:14.830
The port is called as a deep.

05:15.060 --> 05:20.570
So when you write to port 80 you know that's Bideford.

05:20.610 --> 05:24.180
You know he's at Port 80 so by default it's not shown.

05:24.180 --> 05:29.500
So even if you don't write anything collinearity it is actually by default calling port number.

05:29.550 --> 05:32.400
That is what it should be a request to do.

05:32.700 --> 05:38.310
But if you write that letter call in it and it will never give you a response back.

05:38.310 --> 05:38.550
Why.

05:38.550 --> 05:42.530
Because Google server is not that is not at fault.

05:43.000 --> 05:46.140
What it said it does so if you're right for AT&amp;T.

05:46.410 --> 05:50.340
OK so let us for ADHD knifer say 80.

05:50.530 --> 05:51.260
OK.

05:51.540 --> 05:52.590
Scotch Dublin

05:58.630 --> 06:03.200
18N into all OK.

06:05.600 --> 06:06.340
Collinearity

06:09.230 --> 06:12.930
So he's got a bit stubborn on that.

06:12.980 --> 06:13.650
So.

06:13.650 --> 06:15.250
So you can get.

06:15.320 --> 06:16.040
You can get.

06:16.040 --> 06:22.390
So basically the part number generally which was that active requests are being directed to work for

06:22.390 --> 06:22.880
it.

06:23.060 --> 06:23.550
OK.

06:23.750 --> 06:30.710
So these are a few things that you need to remember when we understand the client server model.

06:30.710 --> 06:31.290
Correct.

06:31.550 --> 06:31.940
OK.

06:31.940 --> 06:37.400
And so there are two things that are required as we understand from you we require the IP address and

06:37.400 --> 06:41.150
the port number of calls we want to send in detail as we program.

06:41.150 --> 06:41.610
OK.

06:41.750 --> 06:44.930
So now we can open a pie chart and start with our programming.

06:44.960 --> 06:47.980
Let's begin from the next.
