aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authordec05eba <0xdec05eba@gmail.com>2018-06-09 20:38:40 +0200
committerdec05eba <0xdec05eba@gmail.com>2018-06-09 20:38:44 +0200
commit69349f6bcf1a447288c04bca0b07de4ec80bb6a5 (patch)
treec52787da2deab7685013591ddb7d98aa18db3728 /include
parent1102c2c2b45672735be2b63ae5e765fb24e80838 (diff)
Bind for rendezvous connection
Diffstat (limited to 'include')
-rw-r--r--include/sibs/DirectConnection.hpp2
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);