No homework in detention sounds absolutely fucked.
There were a couple times in high school I actually asked to go to detention after class, just to do homework. Because I knew it was a quiet, distraction-free space where I could concentrate on a time-sensitive task. Baffled the detention supervisor, she probably wondered if I was having a bad situation at home I was trying to avoid, but no, just wanted to protect myself from myself. And it was very effective every time.
It’s basically a power strip:
but specifically for cables that carry Internet traffic instead of electrical power.
A more direct analogy would be a telephone switchboard (which is why it is called a “switch”), basically a computerized version of those old-timey operator ladies who used to sit in a room waiting for you to make a phone call, and they’d physically move a plug connected to your phone and plug it directly into the phone line of whoever you were trying to call. That, but for computers trying to talk to one another over network cables instead of making telephone calls.