diff -r 60f2b46d9a3b -r 6d1392a3e0a6 TCP/TCPListener.m --- a/TCP/TCPListener.m Sat May 16 14:10:15 2009 -0700 +++ b/TCP/TCPListener.m Tue Jun 23 13:52:28 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; }