15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
*/
#import "OFObject.h"
#ifndef OF_HAVE_SOCKETS
# error No sockets available!
#endif
#ifdef _WIN32
# include <winsock2.h>
#endif
@class OFStream;
@class OFMutableArray;
|
>
>
>
>
|
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
*/
#import "OFObject.h"
#ifndef OF_HAVE_SOCKETS
# error No sockets available!
#endif
#ifdef OF_HAVE_SYS_SOCKET_H
# include <sys/socket.h>
#endif
#ifdef _WIN32
# include <winsock2.h>
#endif
@class OFStream;
@class OFMutableArray;
|
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
|
OFMutableArray *_writeStreams;
__unsafe_unretained OFStream **_FDToStream;
size_t _maxFD;
OFMutableArray *_queue;
OFDataArray *_queueInfo, *_queueFDs;
id <OFStreamObserverDelegate> _delegate;
int _cancelFD[2];
#ifdef _WIN32
struct sockaddr_in _cancelAddr;
#endif
#ifdef OF_HAVE_THREADS
OFMutex *_mutex;
#endif
}
|
|
|
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
|
OFMutableArray *_writeStreams;
__unsafe_unretained OFStream **_FDToStream;
size_t _maxFD;
OFMutableArray *_queue;
OFDataArray *_queueInfo, *_queueFDs;
id <OFStreamObserverDelegate> _delegate;
int _cancelFD[2];
#ifndef OF_HAVE_PIPE
struct sockaddr_in _cancelAddr;
#endif
#ifdef OF_HAVE_THREADS
OFMutex *_mutex;
#endif
}
|