mirror of
https://github.com/edubart/otclient.git
synced 2025-05-02 10:39:21 +02:00
connection fix
This commit is contained in:
parent
f34b6b1bab
commit
a62785911a
@ -41,7 +41,6 @@ public:
|
||||
void connect(const std::string& host, uint16 port, const std::function<void()>& connectCallback);
|
||||
void send(uint8 *buffer, uint16 size);
|
||||
void recv(uint16 bytes, uint32 timeout, const RecvCallback& callback);
|
||||
void recv(const std::string& data, uint32 timeout, const RecvCallback& callback);
|
||||
|
||||
void setErrorCallback(const ErrorCallback& errorCallback) { m_errorCallback = errorCallback; }
|
||||
void setRecvCallback(const RecvCallback& recvCallback) { m_recvCallback = recvCallback; }
|
||||
|
Loading…
x
Reference in New Issue
Block a user