As a self-taught programmer, I thank you very much! As someone who cannot afford to get another degree but wants to not stay behind my degreed competition, channels like yours are saving me! Really looking forward to more videos.
@@calmsh0t congratulation brother, I'm also a self-taught, do u have any advices on what programming languages should I focus on and what courses should I take and how many months it will take me.
Here is what I understood: In order establish a connection between client and server we need sockets. Sockets are end point of communication and it can be identified by IP address, port number. Each process that is communicating has a socket. Servers that have specific services listen to specific socket ports. So when connection request comes from a client the server would be listening to specific port and accepts the request from client socket to complete the connection. From host side or client side the process's sockets port number must be above 1024 because below 1024 ports are reserved for specific purpose.
Well explained. So, sockets are used to establish communication between processes especially in client server model. Sockets are IP addresses concatenated with port number. When a process at client system wants to communicate and request for information from server, it is assigned a socket consisting of IP address of that system with port number. Port number should be greeter then 1024 as port numbers below this are standard.
Sir what if two hosts require same well known services at same time, then both will have same port numbers..! Then how will the socket uniquely identify the process ???
@@invinciblegirl4386 While sending a request (being a client) it can use any port number above 1024. This port would only be used by the OS to determine which process should get the response when the response come from the server. So if a single computer wants to be a client and http-server simultaneously (which is pretty common thing) it can use port 80 for serving contents and any other ports above 1024 to send request to other servers.
@@invinciblegirl4386 If you are implying multiple hosts as in two differenrt systems, you will have different Ips addresses right. And if are accessing the well known service say http (port 80) from the same system multiple times, you will bw given a socket with different port numbers grater than 1024 without conflicting and there should not be any problem finding the client that requested a service from server.
Sockets are another way for the processes to communicate with each other. It's specifically used for client-server base systems. A socket is a combination of an IP address and a port. The port for a server is under 1024. Servers implementing specific services listening to specific ports (telnet 23, HTTP 80, ftp 21)
Sir instead of reading ppt points again and again you can give some examples which will help audience to understand the topic in a better way, and also it will increase the length of video with effective content .
Its very well explained but I have one question for you. If the host has been assigned a different port number and he is trying to request for HTTP on port 80, shouldn't host must request for port 80 request from his socket? As per my understanding, web server is listening on port 80 and any client who will request the services of this port, server will only accept the address specified with port 80. please clarify this confusion. I will really appreciate this.
server put a firewall and server admin configure firewall , here admin will write some rules that if a request is comes at port 80 then redirect this to port this and that. and here firewall provide basic level of security to the server. authentication and authorization can be implemented at firewall. everyone follow standard because os will put standard port to standard services.
if your server is listening at port 8080 then it must be defined in packet. so it's responsibility of client process to assign appropriate port no to server process. because if a company is providing server application then either it should provide a client application or listen to standards port for standard process. or use firewall to redirect traffic.
But During the three-way handshake, the client process knocks on the welcoming door of the server process. When the server “hears” the knocking, it creates a new door- more precisely, a new socket that is dedicated to that particular client.
How can the client socket's know the port of web server socket's? And if there is in the web server a lot of application that have the same port 80 how the socket gonna know the application that i need to connect with
You repeat yourself too many times (actualy reading the same thing too many times). It's ok, I can replay the video if I don't understand. No need to repeat so many times.
Repetition is actually something educators are taught to do; important concepts should be repeated 2-3 times to reinforce them, particularly in a lecture or video where the information is being presented in a primarily auditory format. (Many people just listen but don't necessarily watch the screen. While some students will catch it the first time through, it just reinforces the information to hear it again and, more importantly, it helps the majority of students to absorb the material.
@@IzzersKeeper Exactly. I actually find it nice that he goes through the same statement multiple times. But then again, I understand others' frustration of not liking this
As a self-taught programmer, I thank you very much! As someone who cannot afford to get another degree but wants to not stay behind my degreed competition, channels like yours are saving me! Really looking forward to more videos.
Did u make it as self taught programmer ?
@@justcurious1940 Yes I have a very successful carreer at a quite big tech company.
@@calmsh0t congratulation brother, I'm also a self-taught, do u have any advices on what programming languages should I focus on and what courses should I take and how many months it will take me.
Here is what I understood:
In order establish a connection between client and server we need sockets. Sockets are end point of communication and it can be identified by IP address, port number. Each process that is communicating has a socket. Servers that have specific services listen to specific socket ports. So when connection request comes from a client the server would be listening to specific port and accepts the request from client socket to complete the connection.
From host side or client side the process's sockets port number must be above 1024 because below 1024 ports are reserved for specific purpose.
The best & simplest explanation of sockets I found! Thank you very much!
Amazing Work, more people like this is what the education system needs, people who really care and love what they do, Thanks !
Well explained.
So, sockets are used to establish communication between processes especially in client server model. Sockets are IP addresses concatenated with port number. When a process at client system wants to communicate and request for information from server, it is assigned a socket consisting of IP address of that system with port number. Port number should be greeter then 1024 as port numbers below this are standard.
Sir what if two hosts require same well known services at same time, then both will have same port numbers..! Then how will the socket uniquely identify the process ???
@@invinciblegirl4386 While sending a request (being a client) it can use any port number above 1024. This port would only be used by the OS to determine which process should get the response when the response come from the server.
So if a single computer wants to be a client and http-server simultaneously (which is pretty common thing) it can use port 80 for serving contents and any other ports above 1024 to send request to other servers.
if u want to go in detail on this subject ... try to pirate a book called "Unix network programming vol1 network programming api- 3rd edition"
@@invinciblegirl4386 If you are implying multiple hosts as in two differenrt systems, you will have different Ips addresses right. And if are accessing the well known service say http (port 80) from the same system multiple times, you will bw given a socket with different port numbers grater than 1024 without conflicting and there should not be any problem finding the client that requested a service from server.
Sockets are another way for the processes to communicate with each other. It's specifically used for client-server base systems.
A socket is a combination of an IP address and a port.
The port for a server is under 1024.
Servers implementing specific services listening to specific ports (telnet 23, HTTP 80, ftp 21)
Bro you are great , thanks for the tutorial, better explained than any technical book i have.
Sir instead of reading ppt points again and again you can give some examples which will help audience to understand the topic in a better way, and also it will increase the length of video with effective content .
I rarely comment on these videos but this saved me
Awesome and quality video!!! no exaggeration
God bless you guys, thanks for the course
so much clarity. Great
Great explanation!
Thanks for the video!
Thank you NESO TEAM.
I think this is the better one. Thanks ❤🎉
Very informative and detailed. Thanks for the video!
Thank you for this. It was very informative.
Amazing explanation
wonderful explanation
thanks very much for sharing to us these nkowledges
thanks a lot sir! your videos are really a boon for students :):):)
please make a lectures on rest of the chapters..it will be very helpful to us...
Right
Excelent video. Still, are all requests by clients served, or are there processes in place to deny malicious requests?
Very well explained. Thanks!
very well-explained! thanks!
Well explained
great courses, thank you
Thank you for the very great video
so basically mechanism is:
host -----------------------------------------------------------------> server
http -> tcp -> socket -> network -> socket -> tcp -> http
right?
Its very well explained but I have one question for you. If the host has been assigned a different port number and he is trying to request for HTTP on port 80, shouldn't host must request for port 80 request from his socket? As per my understanding, web server is listening on port 80 and any client who will request the services of this port, server will only accept the address specified with port 80. please clarify this confusion. I will really appreciate this.
server put a firewall and server admin configure firewall , here admin will write some rules that if a request is comes at port 80 then redirect this to port this and that. and here firewall provide basic level of security to the server. authentication and authorization can be implemented at firewall. everyone follow standard because os will put standard port to standard services.
if your server is listening at port 8080 then it must be defined in packet. so it's responsibility of client process to assign appropriate port no to server process. because if a company is providing server application then either it should provide a client application or listen to standards port for standard process. or use firewall to redirect traffic.
Thank you very much, sir.
Please upload videos on further more topics
absolutely beneficial
Sir Kindly upload all the videos that will help us for UGC NET exam
Thank you Sir
So the PC chooses the host registered or ephemeral port and not the Router? Thanks for the video, very informative.
very clear thanks
Please upload the videos of threads in OS n Deadlock
Can you please make lectures on POSIX and Pipes as they are also a part of IPC ?
Even I want to know about POSIX
Thanks for socket!
is this helpful for multiple clients communicating with a single server by creating sockets for each server-client communication?
Does the server need to use multiple different ports for handling requests? Or all of them will be handled on port 80?
all of them are going to handle on port 80
But During the three-way handshake, the client process knocks on the welcoming door
of the server process. When the server “hears” the knocking, it creates a new door-
more precisely, a new socket that is dedicated to that particular client.
awesome video!
Good work! Thak you.
Very good 👍
Plzz do something about synchronization.
sir thanku so much
It is really helpful
Thank you so much
Thanks
How can the client socket's know the port of web server socket's? And if there is in the web server a lot of application that have the same port 80 how the socket gonna know the application that i need to connect with
Sir , please upload the videos on process synchronization
Sir plz upload more videos fast. my exams are near plzz sir
Lol I know. Stop everything! Put a pause to everything in your life and finish this playlist pleeeeease :D
nice one !!!
Can you add the rest of the videos in playlist please??
ty
Superior illustration with socket in IPC
is it possible to use message passing in client server system?
easy to understand!
You're awesome
repeated every sentence more than 10 times doesn't make it more understandable
Actually
How many connections that a server can accept at a time?
So sockets are just port numbers?
sir plzz upload all the videos fast
Sir, please send the link of filters and theorems chapter in network theory.
Sir plz upload more videos fast.
How do i get ur presentation .
Nice
helpful
pls add remaining videos
Sir add remaining lessons before sem exam
Networking
plz upload remaining vdo's .
Sir plz upload more videos
sir please complete this subject
Sir, theorems nahi mili network theory mein
sir more video please fast
Sir plz add remaining fastly
Upload more plz
You repeat yourself too many times (actualy reading the same thing too many times). It's ok, I can replay the video if I don't understand. No need to repeat so many times.
Just a bit of constructive criticism: There is no need to repeat the same thing 3 times, all the while it is on the screen.
Repetition is actually something educators are taught to do; important concepts should be repeated 2-3 times to reinforce them, particularly in a lecture or video where the information is being presented in a primarily auditory format. (Many people just listen but don't necessarily watch the screen. While some students will catch it the first time through, it just reinforces the information to hear it again and, more importantly, it helps the majority of students to absorb the material.
@@IzzersKeeper Exactly. I actually find it nice that he goes through the same statement multiple times. But then again, I understand others' frustration of not liking this
This video could be 2 minutes as every sentence is repeated like 5 times LOL
Yeep
he's just reading from wikipedia, doesn't explain nothing at all
1st
Thank you sir!