Ashkan Kh. Nazary
Ashkan Kh. Nazary

Reputation: 22334

What exactly is "Socket Layer" referred to in SSL?

Well I know the 7 and 4 layered models but nowhere I can find a layer called "socket".

Upvotes: 1

Views: 2514

Answers (2)

laher
laher

Reputation: 9110

In SSL, the 'layer' does not refer to the OSI or IP suite layer system, although it is associated with a given layer in each. The term 'layer' fits well because Application Layer protocols like SMTP and HTTP can simply be layered on top of it.

In the 4-layer IP Suite model, SSL/TLS is in the Application Layer, (although it is actually layered below other application layer protocols, such as HTTP).

The successor to SSL, TLS, is even named 'Transport Layer security'. That's slightly misleading in this context, but from the perspective of other Application Layer protocols, it is a layer below them, just like a Transport Layer protocol.

In the 7-layer OSI model, SSL is a 'Presentation Layer' protocol, separating it from HTTP/SMTP/... above it, and things like SOCKS and PPTP in the Session layer below it.

See wikipedia for confirmation:

Upvotes: 3

penartur
penartur

Reputation: 9912

From https://en.wikipedia.org/wiki/Network_socket : The socket is primarily a concept used in the Transport Layer of the Internet model.

The socket layer phrase is merely a well-known word combination, and is not related to the "layers" in OSI model sense. It is intended to be understood by people who has little to do with all the OSI model theory.

Upvotes: 1

Related Questions