36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
|
#endif
+ socket
{
return [[[self alloc] init] autorelease];
}
- init
{
self = [super init];
sock = INVALID_SOCKET;
saddr = NULL;
return self;
}
- (BOOL)atEndOfStreamWithoutCache
{
return eos;
}
- (size_t)readNBytesWithoutCache: (size_t)size
intoBuffer: (char*)buf
|
<
<
<
<
<
<
<
<
<
<
|
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
#endif
+ socket
{
return [[[self alloc] init] autorelease];
}
- (BOOL)atEndOfStreamWithoutCache
{
return eos;
}
- (size_t)readNBytesWithoutCache: (size_t)size
intoBuffer: (char*)buf
|