What are ports in networking?

16,789

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 .

Share:
16,789

Related videos on Youtube

Suhail Gupta
Author by

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, 2020

Comments

  • Suhail Gupta
    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.

  • Suhail Gupta
    Suhail Gupta about 13 years
    what do you mean by this line ". These ports allow software applications to share hardware resources without interfering with each other."
  • Saurabh Gokhale
    Saurabh Gokhale about 13 years
    @Suhail : Look at your question. You asked about socket