I am trying to open a sender / receiver socket on the same device and send a 64k packet to the router then receive it back. The key is packet should go through router. So I will be able to tell user something about his local wifi speed. Here is what I tested:I am trying to open a sender / receiver socket