DEV Community

Discussion on: WWE Entrance Music

Collapse
 
mohanarpit profile image
Arpit Mohan

I added that check to mark devices that have disconnected. For example, if I leave the room, the entry still stays in the arp proc file but it's status changes to 0x0. It will be removed according to whatever caching rules exist on the router. Hence, I decided to handle the flag and only honour devices that are connected.

Also, new connections were fairly fast to detect. There was less than a seconds delay everytime for my router. OTOH, disconnections are much slower to detect. On average, it was taking 30 mins to detect a disconnection.