diff options
Diffstat (limited to 'cpp/src/qpid/sys/Socket.h')
| -rw-r--r-- | cpp/src/qpid/sys/Socket.h | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/cpp/src/qpid/sys/Socket.h b/cpp/src/qpid/sys/Socket.h index 9a1e0afc77..45a8bb588e 100644 --- a/cpp/src/qpid/sys/Socket.h +++ b/cpp/src/qpid/sys/Socket.h @@ -21,6 +21,7 @@ * under the License. * */ + #include "IOHandle.h" #include <string> @@ -51,17 +52,6 @@ public: void close() const; - enum { SOCKET_TIMEOUT=-2, SOCKET_EOF=-3 } ErrorCode; - - /** Returns bytes sent or an ErrorCode value < 0. */ - ssize_t send(const void* data, size_t size) const; - - /** - * Returns bytes received, an ErrorCode value < 0 or 0 - * if the connection closed in an orderly manner. - */ - ssize_t recv(void* data, size_t size) const; - /** Bind to a port and start listening. *@param port 0 means choose an available port. *@param backlog maximum number of pending connections. |
