diff --git a/src/kits/network/libnetapi/Socket.cpp b/src/kits/network/libnetapi/Socket.cpp index 6e27e1e10c..509eddf446 100644 --- a/src/kits/network/libnetapi/Socket.cpp +++ b/src/kits/network/libnetapi/Socket.cpp @@ -44,7 +44,7 @@ BSocket::~BSocket() status_t BSocket::Bind(const BNetworkAddress& local, bool reuseAddr) { - return BAbstractSocket::Bind(local, SOCK_STREAM, reuseAddr); + return BAbstractSocket::Bind(local, reuseAddr, SOCK_STREAM); }