1.Network Service Discovery - mDNS-SD
Network Service Discovery - mDNS-SD
tensorflow源码解析6 åºäº AOSP master åæ¯ï¼è³å°æ¯ Android tensorflow源码解析6以 discoverService 为ä¾ï¼ä»ç» Network Service Discovery è°ç¨æµç¨
tensorflow源码解析6frameworks/base/core/java/android/net/nsd/NsdManager.java
tensorflow源码解析6frameworks/base/services/core/java/com/android/server/NsdService.java
tensorflow源码解析6è¿éæ两个éè¦æ¹æ³ï¼
tensorflow源码解析6frameworks/base/services/core/java/com/android/server/NsdService.java
tensorflow源码解析6è¦æ§è¡ä¹ï¼é¦å éè¦æ§è¡ çåå§å
tensorflow源码解析6// åå§åè¿ç¨å ä¸åæäºï¼ç»è®ºæ¯ä½ä¸º client 端è¿æ¥ä¸ä¸ª socket å° server端ï¼netdï¼
tensorflow源码解析6ä¸åæåæç¸åï¼ä»¥ âmdnssdâ 为å½ä»¤ï¼ä»¥ âdiscoverâãdiscoveryIdãserviceType ä½ä¸ºåæ°å表
tensorflow源码解析6system/netd/server/main.cpp
tensorflow源码解析6system/core/libsysutils/src/SocketListener.cpp
tensorflow源码解析6onDataAvailable() æ¹æ³çå ·ä½å®ç°å¨ SocketListener åç±» FrameworkListener ä¸
tensorflow源码解析6system/core/libsysutils/include/sysutils/FrameworkListener.h
tensorflow源码解析6å ç¡®å® mCommand éåéæä»ä¹ï¼æè½ç¡®å®å ·ä½æ§è¡ç runCommand() æ¹æ³æ¯ä»ä¹
tensorflow源码解析6system/netd/server/MDnsSdListener.cpp
tensorflow源码解析6ä»ä»¥ä¸æºç å¯ç¥ï¼æ³¨åçå½ä»¤æ¯ âmdnssdâï¼ä¸åæç客æ·ç«¯å¹é
tensorflow源码解析6å ·ä½å½ä»¤çå¤çè¿ç¨å¦ä¸ï¼åææå°äº discover å start-service 两个æä½ï¼è¿éä» åæ discover å½ä»¤
tensorflow源码解析6external/mdnsresponder/mDNSShared/dnssd_clientstub.c
tensorflow源码解析6tensorflow源码解析6