wifi - Service discovery using dns-sd -


i have device configured in station mode. device connected smart phone on hotspot provided smartphone. device needs search service published application on smartphone _abc._tcp.

i using command dns-sd -b _abc._tcp no output. please guide me may missing.

the application publishes service. verified using bonjour application on android.

also please clarify

  1. is possible discover services while in station mode.
  2. while searching services necessary provide complete service name. if not how can discover services published on smart phone
  3. can firewall settings on device affect service discovery?
  4. how can achieve same in c++. libraries can in discovering.

thanks advance.

is possible discover services while in station mode.

see station mode

while searching services necessary provide complete service name.

yes

if not how can discover services published on smart phone

service discovery meant used discover severice you're looking printer or webpage. 1 solution might use find services , query each instance of service. each instance has name , ip can compare phone's ip. quite ugly think.

can firewall settings on device affect service discovery?

yes

how can achieve same in c++. libraries can in discovering.

there libs in every language... search c++ service discovery in favourite search engine , find plenty (or so-thread links 1 or more)


Comments

Popular posts from this blog

account - Script error login visual studio DefaultLogin_PCore.js -

xcode - CocoaPod Storyboard error: -