5 // Created by C. Ramakrishnan on Mon Feb 24 2003.
6 // Copyright (c) 2003 __MyCompanyName__. All rights reserved.
9 #import <Foundation/Foundation.h>
11 @interface OSCService
: NSObject
{
12 // a glorified struct (declared as an Obj-C class so I can put it in NSArrays)
13 // stored in the oscServices ivar of RendezvousClient
15 NSNetService
* netService
;
18 const struct sockaddr_in
* sockaddr
;
33 @interface RendezvousClient
: NSObject
{
34 NSNetServiceBrowser
* browsers
[kNumOSCServiceTypes
];
35 NSMutableArray
* oscServices
;
38 + (RendezvousClient
*)sharedClient
;
41 - (void)findOSCServices
;
42 - (OSCService
*)oscServiceAtIndex
:(unsigned)index
;
43 - (unsigned)numberOfOSCServices
;