La sessione di domande e risposte di oggi ci viene fornita per gentile concessione di SuperUser, una suddivisione di Stack Exchange, un raggruppamento di domande e risposte basato sulla comunità.
La domanda
Lettore Superuser Zequez è curioso di sapere come il suo nodo Wi-Fi funzioni in modo così fluido e perché i dati sembrino scontrarsi, scrive:
I mean, I know each packet is sent with a MAC address, but what about streaming?
What happen if while the router is receiving one packet, a packet from another device arrives?
How can the router knows that the photons colliding into the antenna are part of the first packet or the second packet?
Or is it that the speed of light is so fast that this almost never happen and the packets are just reported as corrupt and are sent again?
Cosa tiene in ordine tutti quei pacchetti consegnati in modalità wireless? Scaviamo un po 'più a fondo.
La risposta
Contributo SuperUser Ultrasawblade offre la seguente risposta con link utili per ulteriori letture:
In a wireless network, only one device is actually “speaking” at once. Each other device listens and waits for the air on that channel to be quiet before speaking. This technique is called carrier sense multiple access with collision avoidance (CSMA/CA).
An RTS/CTS exchange helps all the nodes stay in sync efficiently by providing a way for one node to say “hey, I’m going to talk for this long so wait this long” to every other node.
@Petr Abdulin is correct but I think all Wifi networks use CSMA/CA. Old 10BaseT non-switched wired networks relied on carrier sense multiple access with collision detection (CSMA/CD). Collisions don’t happen on networks where all nodes are connected to a switch.
Hai qualcosa da aggiungere alla spiegazione? Sound off nei commenti. Vuoi leggere più risposte dagli altri utenti di Stack Exchange esperti di tecnologia? Controlla la discussione completa qui.