diff options
author | Martin Sustrik <sustrik@250bpm.com> | 2012-04-24 11:25:26 +0200 |
---|---|---|
committer | Martin Sustrik <sustrik@250bpm.com> | 2012-04-25 17:08:06 +0200 |
commit | d2347c9fdda8d21ede3f91ae8a4873ac04b498aa (patch) | |
tree | 8902345479a512c8e6b00847b7a8ec2da7770254 /src/tcp_listener.hpp | |
parent | 94a38c72a7c8803d0947ac86a425152a8b1895ba (diff) |
tcp_address_t and ipc_address_t merged into a single class
This patch is a preliminary work for mergine TCP and IPC connecters
and listeners. The ultimated goal is to avoid code duplication
occuring in these classes.
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
Diffstat (limited to 'src/tcp_listener.hpp')
-rw-r--r-- | src/tcp_listener.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tcp_listener.hpp b/src/tcp_listener.hpp index 4ac6657..a5023ee 100644 --- a/src/tcp_listener.hpp +++ b/src/tcp_listener.hpp @@ -26,7 +26,7 @@ #include "own.hpp" #include "stdint.hpp" #include "io_object.hpp" -#include "tcp_address.hpp" +#include "address.hpp" namespace xs { @@ -63,7 +63,7 @@ namespace xs fd_t accept (); // Address to listen on. - tcp_address_t address; + address_t address; // True, if the undelying file for UNIX domain socket exists. bool has_file; |