equal
deleted
inserted
replaced
238 clientQuit = YES; |
238 clientQuit = YES; |
239 } |
239 } |
240 |
240 |
241 // Open a connection with the IP provided (listen on the host's port) |
241 // Open a connection with the IP provided (listen on the host's port) |
242 if (!(sd = SDLNet_TCP_Open(&ip)) && !clientQuit) { |
242 if (!(sd = SDLNet_TCP_Open(&ip)) && !clientQuit) { |
243 DLog(@"SDLNet_TCP_Open: %s %\n", SDLNet_GetError(), self.enginePort); |
243 DLog(@"SDLNet_TCP_Open: %s %d\n", SDLNet_GetError(), self.enginePort); |
244 clientQuit = YES; |
244 clientQuit = YES; |
245 } |
245 } |
246 |
246 |
247 DLog(@"Waiting for a client on port %d", self.enginePort); |
247 DLog(@"Waiting for a client on port %d", self.enginePort); |
248 while (csd == NULL) |
248 while (csd == NULL) |