Quote:
Originally Posted by sicarie
Do a packet capture or windump on the interface while the program is running (and nothing else, just to keep you from getting confused).
I think I need to make a clarification:
say you have got 2 ethernet cards, Wireless and Wire. Program reads these and makes a connection with one of them, say Wire. Then you plug out your cable and would like your application make a new connection with Wireless. then you plug back in your LAN cable and something happens to your Wireless then you would like to make new connection with your LAN again.
BUT
While you are connected using LAN then Wireless is disabled, the program should do nothing at this case - no need to take any action as you were not using Wireless anyway, simple is that.
So the question is during the execution of the code, how can I determine which ethernet is being used? Is it the one in use or not?
Thanks again!