listen(sockfd, SOMAXCONN);
fcntl(sockfd,F_SETFL,O_NONBLOCK);
[self setupRendezvousAdvertising];
listen(sockfd, SOMAXCONN);
fcntl(sockfd,F_SETFL,O_NONBLOCK);
[self setupRendezvousAdvertising];
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];