Sending data packet using UDP port
-
Hi.. I am developing an application in which I am sending a data packet using UDP 9050 port.When I run it disabling wifi, it works fine.But when I run it on a laptop with enabling wifi ON, It doesn't work. Please guide me.
It's possible that you are hitting a port conflict with another application, or that the firewall is not allowing the application to pass through this port. To see if you're getting a conflict, try running
netstat -a
from the command prompt.I'm not a stalker, I just know things. Oh by the way, you're out of milk.
Forgive your enemies - it messes with their heads
-
Hi.. I am developing an application in which I am sending a data packet using UDP 9050 port.When I run it disabling wifi, it works fine.But when I run it on a laptop with enabling wifi ON, It doesn't work. Please guide me.
you may be binding to the wrong adapter... to see if this is the problem, change the order of the adapters: To view order of adapters: on cmd prompt type: ipconfig (the result will be the default bind order) To change order of adapters: last adapter enabled will become last in the list (so change the order by disabling/enabling in the network connections menu accordingly) if you determine that this is the problem, then you have to manage your adapter binding a bit smarter in the code.