summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/Connector.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/Ice/Connector.h')
-rw-r--r--cpp/src/Ice/Connector.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/cpp/src/Ice/Connector.h b/cpp/src/Ice/Connector.h
index 347997afbce..825afa86383 100644
--- a/cpp/src/Ice/Connector.h
+++ b/cpp/src/Ice/Connector.h
@@ -14,6 +14,12 @@
#include <Ice/ConnectorF.h>
#include <Ice/TransceiverF.h>
+#ifdef _WIN32
+# include <winsock2.h>
+#else
+# define SOCKET int
+#endif
+
namespace IceInternal
{
@@ -22,6 +28,7 @@ class ICE_API Connector : public ::IceUtil::Shared
public:
virtual TransceiverPtr connect(int) = 0;
+
virtual Ice::Short type() const = 0;
virtual std::string toString() const = 0;