Problem: stream listeners do not provide correct local and remote address information (test_monitor is failing)

Solution: query local and remote addresses on accepting a connection
This commit is contained in:
Simon Giesecke
2019-02-02 16:36:32 +01:00
parent 8f90f579f5
commit 54240dccbb
8 changed files with 21 additions and 13 deletions

View File

@@ -53,7 +53,7 @@ class tipc_listener_t : public stream_listener_base_t
int set_local_address (const char *addr_);
protected:
std::string get_local_socket_name (fd_t fd_) const;
std::string get_socket_name (fd_t fd_, socket_end_t socket_end_) const;
private:
// Handlers for I/O events.