TCP/TCPListener.m
changeset 48 2b4ad2067074
parent 44 d8a559a39284
child 49 20cccc7c26ee
     1.1 --- a/TCP/TCPListener.m	Wed May 06 09:21:57 2009 -0700
     1.2 +++ b/TCP/TCPListener.m	Sat May 16 14:24:06 2009 -0700
     1.3 @@ -52,13 +52,17 @@
     1.4  }
     1.5  
     1.6  
     1.7 -@synthesize delegate=_delegate, port=_port, useIPv6=_useIPv6,
     1.8 +@synthesize port=_port, useIPv6=_useIPv6,
     1.9              bonjourServiceType=_bonjourServiceType, bonjourServiceOptions=_bonjourServiceOptions,
    1.10              bonjourPublished=_bonjourPublished, bonjourError=_bonjourError,
    1.11              bonjourService=_netService,
    1.12              pickAvailablePort=_pickAvailablePort;
    1.13  
    1.14  
    1.15 +- (id<TCPListenerDelegate>) delegate                      {return _delegate;}
    1.16 +- (void) setDelegate: (id<TCPListenerDelegate>) delegate  {_delegate = delegate;}
    1.17 +
    1.18 +
    1.19  - (NSString*) description
    1.20  {
    1.21      return $sprintf(@"%@[port %hu]",self.class,_port);