Differences From Artifact [59b06f95cb]:
- File src/OFTCPSocket.h — part of check-in [142572f90b] at 2008-12-13 19:25:35 on branch trunk — Initial attempt to port to win32. (user: js, size: 1843) [annotate] [blame] [check-ins using]
To Artifact [e73bbae27a]:
- File src/OFTCPSocket.h — part of check-in [2e6119eb42] at 2008-12-19 22:04:35 on branch trunk — Add - setBlocking and - enableKeepAlives for OFTCPSocket. (user: js, size: 2015) [annotate] [blame] [check-ins using]
︙ | |||
89 90 91 92 93 94 95 96 97 98 99 100 | 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 |