Difference between a socket and a port

Posted by cobie on Programmers See other posts from Programmers or by cobie
Published on 2012-10-29T12:14:04Z Indexed on 2012/10/29 17:22 UTC
Read the original article Hit count: 220

Filed under:
|
|

Could someone please explain quite clearly the difference between a port and a socket. I know that a port serves as a door into the network for an application process and that the application process uses a socket connection to the given port number to handle network communication but when you have multiple processes listening on a single port number, I am finding it difficult to understand the difference between the socket and the port and how they all fit together.

© Programmers or respective owner

Related posts about networking

Related posts about sockets