开发者

What are ports in networking? [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and canno开发者_Python百科t be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 11 years ago.

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.


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 :

  • Networking Basics
  • Socket

Since you are new to networking, you must visit this link .

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜