diff options
author | Jose <jose@zeroc.com> | 2012-07-13 00:18:06 +0200 |
---|---|---|
committer | Jose <jose@zeroc.com> | 2012-07-13 00:18:06 +0200 |
commit | 70802b63320582f0afa8229659ea9fe4a21d02ec (patch) | |
tree | eb455947cc774cc558f96b8d7c78373d2a6f1c2b /cpp/src/Ice/TcpTransceiver.h | |
parent | ICE-4839 - Glacier2 sessionHelper IceSSL plug-in (diff) | |
download | ice-70802b63320582f0afa8229659ea9fe4a21d02ec.tar.bz2 ice-70802b63320582f0afa8229659ea9fe4a21d02ec.tar.xz ice-70802b63320582f0afa8229659ea9fe4a21d02ec.zip |
WinRT support
Diffstat (limited to 'cpp/src/Ice/TcpTransceiver.h')
-rw-r--r-- | cpp/src/Ice/TcpTransceiver.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/cpp/src/Ice/TcpTransceiver.h b/cpp/src/Ice/TcpTransceiver.h index 47e482d07ec..82099820416 100644 --- a/cpp/src/Ice/TcpTransceiver.h +++ b/cpp/src/Ice/TcpTransceiver.h @@ -15,6 +15,7 @@ #include <Ice/LoggerF.h> #include <Ice/StatsF.h> #include <Ice/Transceiver.h> +#include <Ice/Network.h> namespace IceInternal { @@ -37,7 +38,7 @@ public: #ifdef ICE_USE_IOCP virtual AsyncInfo* getAsyncInfo(SocketOperation); #endif - + virtual SocketOperation initialize(); virtual void close(); virtual bool write(Buffer&); @@ -58,7 +59,7 @@ private: TcpTransceiver(const InstancePtr&, SOCKET, bool); virtual ~TcpTransceiver(); - void connect(const struct sockaddr_storage&); + void connect(const Address&); friend class TcpConnector; friend class TcpAcceptor; @@ -69,7 +70,8 @@ private: State _state; std::string _desc; - struct sockaddr_storage _connectAddr; + Address _connectAddr; + #ifdef ICE_USE_IOCP AsyncInfo _read; AsyncInfo _write; |