ObjFW  Diff

Differences From Artifact [fd6abf078a]:

To Artifact [afa9fb265e]:


49
50
51
52
53
54
55
56

57
58
59
60
61
62
63
64
65
66
67
49
50
51
52
53
54
55

56
57
58
59
60
61





62







-
+





-
-
-
-
-

 */
- listen;

/**
 * Accept an incoming connection.
 * \return An autoreleased OFTCPSocket for the accepted connection.
 */
- (OFSocket*)accept;
- (OFTCPSocket*)accept;

/**
 * Enable or disable keep alives for the connection.
 */
- enableKeepAlives: (BOOL)enable;

/**
 * Closes the socket.
 */
- close;
@end