@@ -91,10 +91,20 @@ /** * 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