1.1 --- a/TCP/TCPListener.m Tue May 05 15:11:02 2009 -0700
1.2 +++ b/TCP/TCPListener.m Wed May 06 09:21:57 2009 -0700
1.3 @@ -53,7 +53,7 @@
1.4
1.5
1.6 @synthesize delegate=_delegate, port=_port, useIPv6=_useIPv6,
1.7 - bonjourServiceType=_bonjourServiceType,
1.8 + bonjourServiceType=_bonjourServiceType, bonjourServiceOptions=_bonjourServiceOptions,
1.9 bonjourPublished=_bonjourPublished, bonjourError=_bonjourError,
1.10 bonjourService=_netService,
1.11 pickAvailablePort=_pickAvailablePort;
1.12 @@ -261,7 +261,7 @@
1.13 [_netService setDelegate:self];
1.14 if( _bonjourTXTRecord )
1.15 [self _updateTXTRecord];
1.16 - [_netService publish];
1.17 + [_netService publishWithOptions: _bonjourServiceOptions];
1.18 } else {
1.19 self.bonjourError = -1;
1.20 Warn(@"%@: Failed to create NSNetService",self);