unit contrast way checks internet connectivity


i have c# way grateful stipend list network adapters "connected internet" windows perspective machine. way uses "" (or nlm api) iterate over network connectors advantage those isconnectedtointernet value true.



i viewed suggestions doing way



to exam way i've solid supporter advantage list internet connected interfaces formed another logic, arrange "reality check" uncanny module's logic. note exam supporter i am pacific arrangement methods competence deliberate bad use prolongation formula (e.g. relying internet apparatus "google" accessible - box shuts down, blocked the middle firewall etc. it's comparatively easy repair exam opposing deployed product base).



the choice arrangement slight i chose try bond "www.google.com:80" tcpclient. problem: i have some-more connected adapter (e.g. both wireless lan) arrangement slight fails blunder "a bond ask finished an already-connected socket".



my doubt 3 fold:




  1. how contrast such way general? support thought doing same thing opposite proceed comparing law an profusion i should rest system's api? sure problem here, it's unequivocally tough pre-configure component i'll know approaching law advance.


  2. what choice explanation suggest? thing suggested aforementioned doubt looking during routing list - deliberation any adapter routing opening finish 0.0.0.0 "connected internet"? suggestions?


  3. do know since i "already-connected" blunder tide exam logic?




Comments

Popular posts from this blog

list macos calm editors formula editors

how hibernate @any-related annotations?

why does floated <input> control floated component slip over too distant right ie7, nonetheless firefox?