Skip to content

rafaelks/RKSBonjourManager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RKSBonjourManager

This a manager that helps you to interact between devices using Bonjour. Easily create Servers & Clients for your application.

Methods

+ (RKSBonjourManager *)sharedManager;

- (void)addDelegate:(id <RKSBonjourManagerDelegate>)object;
- (void)removeDelegate:(id <RKSBonjourManagerDelegate>)object;

- (RKSBonjourServer *)createServerWithName:(NSString *)name;
- (RKSBonjourClient *)createClientWithServer:(NSNetService *)service;

Protocol

- (void)server:(DTBonjourServer *)server didReceiveObject:(id)object onConnection:(DTBonjourDataConnection *)connection;
- (void)client:(DTBonjourDataConnection *)connection didReceiveObject:(id)object;
- (void)connectionDidClose:(DTBonjourDataConnection *)connection;

Example

There is an Xcode project in this repository as an example to create a server.

References

License (DTBonjour)

It is open source and covered by a standard 2-clause BSD license. That means you have to mention Cocoanetics as the original author of this code and reproduce the LICENSE text inside your app.

You can purchase a Non-Attribution-License for 75 Euros for not having to include the LICENSE text.

About

A subclass of DTBonjour that makes Bonjour management easy

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published