mirror of
https://github.com/edubart/otclient.git
synced 2025-04-30 01:29:21 +02:00
Fix compilation errors (READ_TIMEOUT, READ_TIMEOUT)
This commit is contained in:
parent
07b4b785fc
commit
ad769d6614
@ -33,9 +33,10 @@ class Connection : public LuaObject
|
||||
typedef std::function<void(const boost::system::error_code&)> ErrorCallback;
|
||||
typedef std::function<void(uint8*, uint16)> RecvCallback;
|
||||
|
||||
static constexpr int32_t READ_TIMEOUT = 30;
|
||||
static constexpr int32_t WRITE_TIMEOUT = 30;
|
||||
|
||||
enum {
|
||||
READ_TIMEOUT = 30,
|
||||
WRITE_TIMEOUT = 30,
|
||||
SEND_BUFFER_SIZE = 65536,
|
||||
RECV_BUFFER_SIZE = 65536
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user