diff options
Diffstat (limited to 'src/SocketCore.h')
| -rw-r--r-- | src/SocketCore.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/SocketCore.h b/src/SocketCore.h index de8e6cd2..9b346666 100644 --- a/src/SocketCore.h +++ b/src/SocketCore.h @@ -76,6 +76,8 @@ private: static std::vector<std::vector<std::pair<sockaddr_union, socklen_t> > > bindAddrsList_; static std::vector<std::vector<std::pair<sockaddr_union, socklen_t> > >::iterator bindAddrsListIt_; + static int socketRecvBufferSize_; + bool blocking_; int secure_; @@ -359,6 +361,9 @@ public: protocolFamily_ = protocolFamily; } + static void setSocketRecvBufferSize(int size); + static int getSocketRecvBufferSize(); + // Bind socket to interface. interface may be specified as a // hostname, IP address or interface name like eth0. If the given // interface is not found or binding socket is failed, exception |
