Tänane küsimuste ja vastuste seanss jõuab meile viisakalt SuperUserini - Stack Exchange'i ja kogukonnapõhiste Q & A veebisaitide rühmitusse.
Küsimus
Superuseriga lugeja Zequez on uudishimulik, kuidas tema WiFi-sõlme näib toimivat nii sujuvalt ja miks andmed kokku põrkuvad, ütleb ta:
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?
Mis hoiab kõiki neid juhtmevabalt pakitud pakette? Lähme veidi sügavamale.
Vastus
SuperUseri kaasavõtja Ultrasawblade pakub järgmisi vastuseid koos kasulike linkidega edasiseks lugemiseks:
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.
Kas teil on seletamiseks midagi lisada? Helistage kommentaarides. Kas soovite lugeda rohkem vastuseid teistelt tech-savvy Stack Exchange'i kasutajatelt? Tutvu täieliku arutelu teemaga siit.