aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authordec05eba <0xdec05eba@gmail.com>2018-06-09 20:14:57 +0200
committerdec05eba <0xdec05eba@gmail.com>2018-06-09 20:15:01 +0200
commit3c16f782c36348fa3b817d0d0ba779e0d06b442b (patch)
tree64bb7d482ca3fde2d7817c3829c690d5742adc19 /include
parentbb998674c6f5f4c5c2ae5cb3d14cc4ad333a2db2 (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;