summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/sys/Socket.h
diff options
context:
space:
mode:
authorAndrew Stitcher <astitcher@apache.org>2009-03-04 04:22:50 +0000
committerAndrew Stitcher <astitcher@apache.org>2009-03-04 04:22:50 +0000
commit226868507b7d81df9e779f8472b38dbf4c44d14f (patch)
treefa264d419eac9d0880c45e67305eee47b79ff502 /cpp/src/qpid/sys/Socket.h
parent23b5cf86fe6ee3fe38281435b60db15c26d200fb (diff)
downloadqpid-python-226868507b7d81df9e779f8472b38dbf4c44d14f.tar.gz
QPID-1710 Removed unnecessary nonportable internal API
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@749894 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/sys/Socket.h')
-rw-r--r--cpp/src/qpid/sys/Socket.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/cpp/src/qpid/sys/Socket.h b/cpp/src/qpid/sys/Socket.h
index ae48b8104d..9b749bdf5e 100644
--- a/cpp/src/qpid/sys/Socket.h
+++ b/cpp/src/qpid/sys/Socket.h
@@ -27,8 +27,6 @@
#include <string>
-struct sockaddr;
-
namespace qpid {
namespace sys {
@@ -93,7 +91,7 @@ public:
/** Accept a connection from a socket that is already listening
* and has an incoming connection
*/
- Socket* accept(struct sockaddr *addr, socklen_t *addrlen) const;
+ Socket* accept() const;
// TODO The following are raw operations, maybe they need better wrapping?
int read(void *buf, size_t count) const;