Phiên Hỏi & Đáp hôm nay đến với chúng tôi theo lịch sự của SuperUser - một phân khu của Stack Exchange, một nhóm các trang web Hỏi & Đáp do cộng đồng điều hành.
Câu hỏi
Trình đọc siêu người dùng Zequez tò mò về cách nút Wi-Fi của anh ta dường như hoạt động trơn tru như thế nào và tại sao dữ liệu xuất hiện va chạm, anh viết:
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?
Điều gì giữ tất cả các gói không dây được phân phối theo thứ tự? Hãy đào sâu hơn một chút.
Câu trả lời
Người đóng góp SuperUser Ultrasawblade cung cấp câu trả lời sau đây với các liên kết hữu ích để đọc thêm:
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.
Có cái gì để thêm vào lời giải thích? Âm thanh trong các ý kiến. Bạn muốn đọc thêm câu trả lời từ những người dùng Stack Exchange có hiểu biết công nghệ khác? Xem toàn bộ chuỗi thảo luận tại đây.