414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
|
/* Get rid of a warning, never reached anyway */
assert(0);
}
- (void)close
{
if (sock == INVALID_SOCKET)
@throw [OFNotConnectedException newWithClass: isa];
close(sock);
sock = INVALID_SOCKET;
listening = NO;
eos = NO;
[self freeMemory: sockAddr];
sockAddr = NULL;
sockAddrLen = 0;
}
- (void)dealloc
|
<
<
<
|
<
<
<
|
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
|
/* Get rid of a warning, never reached anyway */
assert(0);
}
- (void)close
{
[super close];
[self freeMemory: sockAddr];
sockAddr = NULL;
sockAddrLen = 0;
}
- (void)dealloc
|