aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2018-06-09 20:14:57 +0200
committerdec05eba <dec05eba@protonmail.com>2020-08-18 22:56:48 +0200
commit2ab647fd5f17cd59cae13206d03e1415c63c31bc (patch)
tree2377ad9387eb058afc773a5f2eeb04286804de52 /include
parent49c167246a53b29d9d1586e00bb3c158a8d75006 (diff)
Fix receive
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 134eade..10359f9 100644
--- a/include/sibs/DirectConnection.hpp
+++ b/include/sibs/DirectConnection.hpp
@@ -57,7 +57,7 @@ namespace sibs
private:
void connect(const Ipv4 &address, bool rendezvous, bool reuseAddr, PubSubConnectCallback connectCallbackFunc, PubSubReceiveDataCallback receiveDataCallbackFunc);
void receiveData();
- int receiveDataFromPeer(const int socket, char *output);
+ int receiveDataFromPeer(const int socket, char *output, usize *receivedTotalSize);
bool removePeer(int peerSocket);
private:
u16 port;