implemented mdns host discovery

This commit is contained in:
Diego Waxemberg
2014-10-14 19:21:48 -04:00
parent b828d5426b
commit f578ee4963
9 changed files with 242 additions and 66 deletions

View File

@@ -7,13 +7,16 @@
//
#import <UIKit/UIKit.h>
#import "MDNSManager.h"
@interface MainFrameViewController : UIViewController <UIPickerViewDataSource,UIPickerViewDelegate>
@interface MainFrameViewController : UIViewController <UIPickerViewDataSource, UIPickerViewDelegate, MDNSCallback>
@property (strong, nonatomic) IBOutlet UIPickerView *HostPicker;
- (IBAction)StreamButton:(UIButton *)sender;
- (IBAction)PairButton:(UIButton *)sender;
@property (strong, nonatomic) IBOutlet UITextField *HostField;
@property (strong, nonatomic) IBOutlet UIPickerView *StreamConfigs;
@property (strong, nonatomic) NSArray* streamConfigVals;
@property (strong, nonatomic) NSArray* hostPickerVals;
+ (const char*)getHostAddr;
- (void) segueIntoStream;