From 380f8e539d73f37c2ef5d7133d3e1b6dda105f4a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Roman=20Smr=C5=BE?= Date: Thu, 9 Dec 2021 22:45:43 +0100 Subject: Test: distinguish address and identity info for peers --- include/erebos/network.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/erebos/network.h') 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 #include +struct sockaddr_in; + namespace erebos { class Server @@ -54,6 +56,7 @@ public: std::string name() const; std::optional identity() const; + const struct sockaddr_in & address() const; bool hasChannel() const; bool send(UUID, const Ref &) const; -- cgit v1.2.3