Add EventDriverSockets.getRemoteAddress.
This commit is contained in:
parent
a25b49228f
commit
2e5b13ee98
3 changed files with 18 additions and 2 deletions
|
@ -159,6 +159,9 @@ interface EventDriverSockets {
|
|||
/// Retrieves the bind address of a socket.
|
||||
bool getLocalAddress(StreamSocketFD sock, scope RefAddress dst);
|
||||
|
||||
/// Retrieves the address of the connected peer.
|
||||
bool getRemoteAddress(StreamSocketFD sock, scope RefAddress dst);
|
||||
|
||||
/// Sets the `TCP_NODELAY` option on a socket
|
||||
void setTCPNoDelay(StreamSocketFD socket, bool enable);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue