Skip to content
This addon uses Bonjour (CFNetServices) to find ip addresses/names of devices on the same network. Works with ios/osx.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
ofxBonjourIp
README.md

README.md

ofxBonjourIp

This addon uses Bonjour to find ip addresses of devices on the same network. Example broadcasts itself and looks for other devices (only 1 atm). To test run example on your device (iphone/ipad) and in the simulator, or on desktop.

Works with ios and osx. Uses CFNetServices (https://developer.apple.com/library/mac/#documentation/CoreFoundation/Reference/CFNetServiceRef/Reference/reference.html) instead of NSNetServices, as this is recommended for C and C++ applications. So no need to rename .cpp files to .mm or anything. Ios examples needs the CFNetwork framework added to your project (see ofxBonjourIp.h for instructions).

-Trent Brooks

You can’t perform that action at this time.