diff options
Diffstat (limited to 'src/socket/Socket.hpp')
-rw-r--r-- | src/socket/Socket.hpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/socket/Socket.hpp b/src/socket/Socket.hpp index 49d03d48..1406d87e 100644 --- a/src/socket/Socket.hpp +++ b/src/socket/Socket.hpp @@ -81,6 +81,12 @@ public: /** Close the socket. */ void close(); + /** Shut down the socket. + * This terminates any connections associated with the sockets, and will + * (unlike close()) cause a poll on the socket to return. + */ + void shutdown(); + private: bool set_addr(const Raul::URI& uri); |