What are ports in networking?
PORTS :
In computer networking, the term port can refer to either physical or virtual connection points.
Physical network ports allow connecting cables to computers, routers, modems and other peripheral devices.
Virtual ports are part of TCP/IP networking. These ports allow software applications to share hardware resources without interfering with each other. Computers and routers automatically manage network traffic traveling via their virtual ports. Network firewalls additionally provide some control over the flow of traffic on each virtual port for security purposes.
SOCKET :
A socket represents a single connection between two network applications. A socket is one end-point of a two-way communication link between two programs running on the network
A good read :
Since you are new to networking, you must visit this link .
Related videos on Youtube
Suhail Gupta
"There's nothing more permanent than a temporary hack." - Kyle Simpson "The strength of JavaScript is that you can do anything. The weakness is that you will." - Reg Braithwaite I am on internet Twitter @suhail3 E-mail [email protected]
Updated on March 22, 2020Comments
-
Suhail Gupta about 4 years
I am studying Networking in java.I am not clear about what are ports. Also i need to know about what is a socket?
Please explain it well.
-
gub about 13 years
-
bw_üezi about 13 years
-
Suhail Gupta about 13 yearsOk..I have accepted three now!
-
Saurabh Gokhale about 13 yearsAccepted too late. Question closed
-
-
Suhail Gupta about 13 yearswhat do you mean by this line ". These ports allow software applications to share hardware resources without interfering with each other."
-
Saurabh Gokhale about 13 years@Suhail : Look at your question. You asked about socket