Differences From Artifact [c23d3aed04]:
- File
src/OFStreamSocket.h
— part of check-in
[c5ef582958]
at
2013-03-04 17:20:15
on branch trunk
— Replace BOOL with bool.
The only places where BOOL is left are those where they are required by
the ABI. (user: js, size: 983) [annotate] [blame] [check-ins using]
To Artifact [9529543da1]:
- File src/OFStreamSocket.h — part of check-in [ec6b265428] at 2013-04-07 21:21:03 on branch trunk — Fix Win32 #include hell. (user: js, size: 971) [annotate] [blame] [check-ins using]
| ︙ | ︙ | |||
13 14 15 16 17 18 19 | * LICENSE.GPLv2 or LICENSE.GPLv3 respectively included in the packaging of this * file. */ #import "OFStream.h" #ifdef _WIN32 | < < < > > > | > | | 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 |
* LICENSE.GPLv2 or LICENSE.GPLv3 respectively included in the packaging of this
* file.
*/
#import "OFStream.h"
#ifdef _WIN32
# include <winsock2.h>
#endif
/*!
* @brief A class which provides functions to create and use stream sockets.
*/
@interface OFStreamSocket: OFStream
{
#ifndef _WIN32
int _socket;
#else
SOCKET _socket;
#endif
bool _atEndOfStream;
}
/*!
* @brief Returns a new, autoreleased OFTCPSocket.
*
* @return A new, autoreleased OFTCPSocket
*/
+ (instancetype)socket;
@end
|