diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/erebos/network.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/erebos/network.h b/include/erebos/network.h index 252c3c7..07ae586 100644 --- a/include/erebos/network.h +++ b/include/erebos/network.h @@ -6,6 +6,8 @@ #include <functional> #include <typeinfo> +struct sockaddr_in; + namespace erebos { class Server @@ -54,6 +56,7 @@ public: std::string name() const; std::optional<Identity> identity() const; + const struct sockaddr_in & address() const; bool hasChannel() const; bool send(UUID, const Ref &) const; |