83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
|
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
|
-
-
+
-
-
-
|
* so context can be associated with a socket. Using a socket in more
* than one thread at the same time is not thread-safe, even if copy
* was called to create one "instance" for every thread!
*/
@interface OFUDPSocket: OFObject <OFCopying, OFReadyForReadingObserving,
OFReadyForWritingObserving>
{
#ifndef _WIN32
int _socket;
of_socket_t _socket;
#else
SOCKET _socket;
#endif
}
/*!
* @brief Returns a new, autoreleased OFUDPSocket.
*
* @return A new, autoreleased OFUDPSocket
*/
|