Options

Are ports/sockets considered layer 4?

m00ndoggm00ndogg Member Posts: 25 ■□□□□□□□□□
What layer are ports and sockets?
Smooth sailing!
~~~ _/) ~~~~

"...it's not my boat, it's my boss' boat..." (Capt. Ron)

Comments

  • Options
    fmitawapsfmitawaps Banned Posts: 261
    I assume you mean the ports / sockets of a router that connect to the internet or other routers?

    I don't know.
  • Options
    SlowhandSlowhand Mod Posts: 5,161 Mod
    TCP 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.
Sign In or Register to comment.