summaryrefslogtreecommitdiff
path: root/ndb/include/util/SocketClient.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'ndb/include/util/SocketClient.hpp')
-rw-r--r--ndb/include/util/SocketClient.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/ndb/include/util/SocketClient.hpp b/ndb/include/util/SocketClient.hpp
index bf1ad7d45d6..422560c8a78 100644
--- a/ndb/include/util/SocketClient.hpp
+++ b/ndb/include/util/SocketClient.hpp
@@ -37,7 +37,8 @@ public:
};
unsigned short get_port() { return m_port; };
char *get_server_name() { return m_server_name; };
- NDB_SOCKET_TYPE connect();
+ int bind(const char* toaddress, unsigned short toport);
+ NDB_SOCKET_TYPE connect(const char* toaddress = 0, unsigned short port = 0);
bool close();
};