implemented mdns host discovery
This commit is contained in:
1 parent
b828d5426b
commit
f578ee4963
9 files changed
+242
-66
No files matched your search
@@ -0,0 +1,28 @@
|
||||
//
|
||||
// MDNSManager.h
|
||||
// Limelight
|
||||
//
|
||||
// Created by Diego Waxemberg on 10/14/14.
|
||||
// Copyright (c) 2014 Limelight Stream. All rights reserved.
|
||||
//
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
|
||||
@protocol MDNSCallback <NSObject>
|
||||
|
||||
- (void) updateHosts:(NSArray*)hosts;
|
||||
|
||||
@end
|
||||
|
||||
@interface MDNSManager : NSObject <NSNetServiceBrowserDelegate, NSNetServiceDelegate>
|
||||
|
||||
@property id<MDNSCallback> callback;
|
||||
|
||||
- (id) initWithCallback:(id<MDNSCallback>) callback;
|
||||
- (void) searchForHosts;
|
||||
- (NSArray*) getFoundHosts;
|
||||
|
||||
@end
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user