Added EventDriverSockets.setKeepAlive.
This commit is contained in:
parent
2341762992
commit
d8f10972eb
4 changed files with 17 additions and 0 deletions
|
@ -84,6 +84,7 @@ interface EventDriverSockets {
|
|||
void waitForConnections(StreamListenSocketFD sock, AcceptCallback on_accept);
|
||||
ConnectionState getConnectionState(StreamSocketFD sock);
|
||||
void setTCPNoDelay(StreamSocketFD socket, bool enable);
|
||||
void setKeepAlive(StreamSocketFD socket, bool enable);
|
||||
void read(StreamSocketFD socket, ubyte[] buffer, IOMode mode, IOCallback on_read_finish);
|
||||
void cancelRead(StreamSocketFD socket);
|
||||
void write(StreamSocketFD socket, const(ubyte)[] buffer, IOMode mode, IOCallback on_write_finish);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue