diff -r 60f2b46d9a3b -r de59ce19f42e TCP/TCPListener.m --- a/TCP/TCPListener.m Sat May 16 14:10:15 2009 -0700 +++ b/TCP/TCPListener.m Tue Jun 23 11:44:30 2009 -0700 @@ -34,9 +34,19 @@ @implementation TCPListener +- (id) init +{ + self = [super init]; + if (self != nil) { + _connectionClass = [TCPConnection class]; + } + return self; +} + + - (id) initWithPort: (UInt16)port { - self = [super init]; + self = [self init]; if (self != nil) { _port = port; }