diff options
author | dec05eba <dec05eba@protonmail.com> | 2018-06-09 20:38:40 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2020-08-18 22:56:48 +0200 |
commit | 68a95ec4ee9ff52e965d408d93069db4667f5604 (patch) | |
tree | 209b484c5cb320eafbf915aad573223061729ebd /include | |
parent | ff56a95cb87e8ff91bf8585753948f25458f6a9d (diff) |
Bind for rendezvous connection
Diffstat (limited to 'include')
-rw-r--r-- | include/sibs/DirectConnection.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sibs/DirectConnection.hpp b/include/sibs/DirectConnection.hpp index 9786c64..900d419 100644 --- a/include/sibs/DirectConnection.hpp +++ b/include/sibs/DirectConnection.hpp @@ -55,7 +55,7 @@ namespace sibs protected: int createSocket(const Ipv4 &addressToBind, bool rendezvous, bool reuseAddr, bool bind = true); private: - void connect(const Ipv4 &address, bool rendezvous, bool reuseAddr, PubSubConnectCallback connectCallbackFunc, PubSubReceiveDataCallback receiveDataCallbackFunc); + void connect(const Ipv4 &address, bool rendezvous, bool reuseAddr, PubSubConnectCallback connectCallbackFunc, PubSubReceiveDataCallback receiveDataCallbackFunc, bool bind); void removeDisconnectedPeers(); void receiveData(); int receiveDataFromPeer(const int socket, char *output, usize *receivedTotalSize); |