@interface ITInetServerSocket(Private)
+(void)registerSocket:(ITInetServerSocket*)sock;
+(void)unregisterSocket:(ITInetServerSocket*)sock;
@interface ITInetServerSocket(Private)
+(void)registerSocket:(ITInetServerSocket*)sock;
+(void)unregisterSocket:(ITInetServerSocket*)sock;
else {perror("Too bad I haven't implemented error checking yet");}
}
else {
ITInetSocket *csocket = [[[ITInetSocket alloc] initWithFD:cfd delegate:self] autorelease];
[clients addObject:csocket];
[delegate newClientJoined:csocket];
else {perror("Too bad I haven't implemented error checking yet");}
}
else {
ITInetSocket *csocket = [[[ITInetSocket alloc] initWithFD:cfd delegate:self] autorelease];
[clients addObject:csocket];
[delegate newClientJoined:csocket];