Thursday, February 7, 2019

Difference between socket and port from software side.

Just wanted to know the difference between a socket and a port from software perspective. From what I have understood, a socket is the interface the transport layer uses to provide services to the upper layers, while a port is used to identify the service or protocol like HTTP or SMTP. Please correct me if I am wrong.



No comments:

Post a Comment