summaryrefslogtreecommitdiff
path: root/src/tcp_connecter.hpp
diff options
context:
space:
mode:
authorMartin Sustrik <sustrik@250bpm.com>2012-04-24 11:25:26 +0200
committerMartin Sustrik <sustrik@250bpm.com>2012-04-25 17:08:06 +0200
commitd2347c9fdda8d21ede3f91ae8a4873ac04b498aa (patch)
tree8902345479a512c8e6b00847b7a8ec2da7770254 /src/tcp_connecter.hpp
parent94a38c72a7c8803d0947ac86a425152a8b1895ba (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_connecter.hpp')
-rw-r--r--src/tcp_connecter.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tcp_connecter.hpp b/src/tcp_connecter.hpp
index 87b4604..26a0151 100644
--- a/src/tcp_connecter.hpp
+++ b/src/tcp_connecter.hpp
@@ -26,7 +26,7 @@
#include "own.hpp"
#include "stdint.hpp"
#include "io_object.hpp"
-#include "tcp_address.hpp"
+#include "address.hpp"
namespace xs
{
@@ -82,10 +82,10 @@ namespace xs
fd_t connect ();
// Address to connect to.
- tcp_address_t address;
+ address_t address;
// Source address.
- tcp_address_t source_address;
+ address_t source_address;
// Underlying socket.
fd_t s;