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
38
39
40
41
42
19
20
21
22
23
24
25

26
27

28
29
30
31

32
33
34
35
36
37
38
39
40
41
42
43
44







-
+

-
+

+
+
-
+












/**
 * \brief A class which provides functions to create and use sockets.
 */
@interface OFSocket: OFStream
{
@public
#ifndef _WIN32
	int		sock;
	int    sock;
#else
	SOCKET		sock;
	SOCKET sock;
#endif
	BOOL   listening;
@protected
	BOOL		eos;
	BOOL   eos;
}

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

/**
 * Enables/disables non-blocking I/O.
 */
- (void)setBlocking: (BOOL)enable;
@end