ObjFW  Diff

Differences From Artifact [c9f65fae9e]:

To Artifact [a4e5ea7f23]:


24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
#endif

/**
 * \brief A class which provides functions to create and use stream sockets.
 */
@interface OFStreamSocket: OFStream
{
@public
#ifndef _WIN32
	int    sock;
#else
	SOCKET sock;
#endif
	BOOL   listening;
/* Work around a bug in gcc 4.4.4 (possibly only on Haiku) */
#if !defined(__GNUC__) || __GNUC__ != 4 || __GNUC_MINOR__ != 4 || \
    __GNUC_PATCHLEVEL__ != 4
@protected
#endif
	BOOL   eos;
}

/**
 * \return A new autoreleased OFTCPSocket
 */
+ socket;
@end







<
<
|
<
<
<
<
<
<
<
<
<
|







24
25
26
27
28
29
30


31









32
33
34
35
36
37
38
39
#endif

/**
 * \brief A class which provides functions to create and use stream sockets.
 */
@interface OFStreamSocket: OFStream
{


	int  sock;









	BOOL eos;
}

/**
 * \return A new autoreleased OFTCPSocket
 */
+ socket;
@end