DEV Community

Discussion on: What's the dumbest bug you caused yourself

Collapse
 
cabe_bedlam profile image
Gregg Bond • Edited

Integrating some network code for broadcast traffic, the receiver binds to any active network connections (this is important).

I am receiving every packet twice, without fail.

I go up and down through my transmission code, even adding in timestamp payload to ensure its unique. Check the receive, sure enough, it's decoding the same packet twice, as it appends different timestamps to the decoded payload. So I dive into the code that end.

Turns out I had left the wifi on my laptop, which is also connected to the same network as the hardline.

Whole afternoon pissed up the wall. FMAL.