56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
|
if (WSAStartup(MAKEWORD(2, 0), &wsa))
@throw [OFInitializationFailedException
exceptionWithClass: self];
}
#endif
+ socket
{
return [[[self alloc] init] autorelease];
}
- (BOOL)lowlevelIsAtEndOfStream
{
return atEndOfStream;
|
|
|
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
|
if (WSAStartup(MAKEWORD(2, 0), &wsa))
@throw [OFInitializationFailedException
exceptionWithClass: self];
}
#endif
+ (instancetype)socket
{
return [[[self alloc] init] autorelease];
}
- (BOOL)lowlevelIsAtEndOfStream
{
return atEndOfStream;
|