BLIP/Demo/BLIPEchoClient.m
changeset 54 6d1392a3e0a6
parent 26 cb9cdf247239
     1.1 --- a/BLIP/Demo/BLIPEchoClient.m	Wed Apr 22 16:45:39 2009 -0700
     1.2 +++ b/BLIP/Demo/BLIPEchoClient.m	Tue Jun 23 13:52:28 2009 -0700
     1.3 @@ -43,9 +43,9 @@
     1.4  #pragma mark BLIPConnection support
     1.5  
     1.6  /* Opens a BLIP connection to the given address. */
     1.7 -- (void)openConnection: (NSNetService*)service 
     1.8 +- (void)openConnection: (MYBonjourService*)service 
     1.9  {
    1.10 -    _connection = [[BLIPConnection alloc] initToNetService: service];
    1.11 +    _connection = [[BLIPConnection alloc] initToBonjourService: service];
    1.12      if( _connection ) {
    1.13          _connection.delegate = self;
    1.14          [_connection open];
    1.15 @@ -95,7 +95,7 @@
    1.16      
    1.17      [self closeConnection];
    1.18      if (-1 != selectedRow)
    1.19 -        [self openConnection: [[self.serviceList objectAtIndex:selectedRow] netService]];
    1.20 +        [self openConnection: [self.serviceList objectAtIndex:selectedRow]];
    1.21  }
    1.22  
    1.23  /* Send a BLIP request containing the string in the textfield */