SwiftBonjourSocket This is a simple Bonjour project , Using Swift 3 on XCode 8.0 Beta You can publish a server and scan a server Also create input/output stream sockect between devices Than send message to each other .