ObjFW  Diff

Differences From Artifact [59b06f95cb]:

To Artifact [e73bbae27a]:


89
90
91
92
93
94
95










96
97
98
99
100
- listen;

/**
 * Accept an incoming connection.
 */
- (OFTCPSocket*)accept;











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







>
>
>
>
>
>
>
>
>
>





89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
- listen;

/**
 * Accept an incoming connection.
 */
- (OFTCPSocket*)accept;

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

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

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