Re: How to know if a network adapter is connected



Bind is not working after recv().
Because after receiving network packets i would like to bind to usb network
and if it's ok, i give USB address.

Excuse me if it's not very clear.

If i use bind before recv(), and i give an IP address to bind(), it's not
working if the interface is not connected !

I'm turning and turning .... but i found no good solution (and simple ;-))))

Help!


.


Loading