ios - How to send data from iphone to bonjour service? -
ios - How to send data from iphone to bonjour service? -
i created ios app in objective-c, , app first browse local networks. after app found bonjour service read/write info computer. think should utilize cfnetwork framework part? simplies way read/write info computer in same network?
the bonjour service's main function find other bonjour enabled device on lan, nil read/write info computer. read/write info on computer, have leverage other network protocols, http 1 of them , commonly used.
let's implement api interface on http, can utilize bonjour locate device , found communication. example, if computer's bonjour name mypc._tcp.local., write info done http://mypc._tcp.local./write/data (depends on api implementation).
apple documentation bonjour, bonjour overview
ios objective-c bonjour cfnetwork cfnetworking
Comments
Post a Comment