ObjFW  Diff

Differences From Artifact [c13d8752b7]:

To Artifact [1c92be9a99]:


19
20
21
22
23
24
25
26
27
28
29


30
31
32
33
34
35
36
37
/**
 * \brief A class which provides functions to create and use sockets.
 */
@interface OFSocket: OFStream
{
@public
#ifndef _WIN32
	int		sock;
#else
	SOCKET		sock;
#endif


	BOOL		eos;
}

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








|

|

>
>
|







19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
/**
 * \brief A class which provides functions to create and use sockets.
 */
@interface OFSocket: OFStream
{
@public
#ifndef _WIN32
	int    sock;
#else
	SOCKET sock;
#endif
	BOOL   listening;
@protected
	BOOL   eos;
}

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