Are ports/sockets considered layer 4?
What layer are ports and sockets?
Smooth sailing!
~~~ _/) ~~~~
"...it's not my boat, it's my boss' boat..." (Capt. Ron)
~~~ _/) ~~~~
"...it's not my boat, it's my boss' boat..." (Capt. Ron)
Comments
-
fmitawaps Banned Posts: 261I assume you mean the ports / sockets of a router that connect to the internet or other routers?
I don't know. -
Slowhand Mod Posts: 5,161 ModTCP and UDP ports live on layer 4 of the OSI model, but sockets get a little trickier. I've seen put them on layer 4 or layer 5, depending on who you listen to. Just keep in mind that the OSI and DOD models are not concrete rules for how networking technologies function and sometimes things don't fit neatly into the layers.
You can also try Googling where you'd put physical NICs: on layer 1 or layer 2. That's a debate that turns colorful in a hurry.
Free Microsoft Training: Microsoft Learn
Free PowerShell Resources: Top PowerShell Blogs
Free DevOps/Azure Resources: Visual Studio Dev Essentials
Let it never be said that I didn't do the very least I could do.