diff options
author | dec05eba <0xdec05eba@gmail.com> | 2018-10-13 20:26:02 +0200 |
---|---|---|
committer | dec05eba <0xdec05eba@gmail.com> | 2018-10-13 20:26:05 +0200 |
commit | a5b3db69c366866398aaa30053f5b83e8e7e491a (patch) | |
tree | 99d00b09a3d31f4ed2c228712faa6d5cdaf14196 /include/sibs | |
parent | 8030c8a73333ab0113082318c3ff3323177e8629 (diff) |
remove test code
Diffstat (limited to 'include/sibs')
-rw-r--r-- | include/sibs/DirectConnection.hpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/sibs/DirectConnection.hpp b/include/sibs/DirectConnection.hpp index 650486e..62d15ad 100644 --- a/include/sibs/DirectConnection.hpp +++ b/include/sibs/DirectConnection.hpp @@ -52,8 +52,6 @@ namespace sibs // Throws ConnectionException on error void connect(const Ipv4 &address, PubSubConnectCallback connectCallbackFunc, PubSubReceiveDataCallback receiveDataCallbackFunc); - void connect(const Ipv4 &address, const std::shared_ptr<DirectConnectionPeer> serverPeer, PubSubConnectCallback connectCallbackFunc, PubSubReceiveDataCallback receiveDataCallbackFunc); - void send(const std::shared_ptr<DirectConnectionPeer> peer, std::shared_ptr<std::vector<u8>> data, PubSubSendDataCallback sendDataCallbackFunc = nullptr); protected: int createSocket(const Ipv4 &addressToBind, bool rendezvous, bool reuseAddr, bool bind = true); |