Added back in eq stream ident timeout, also fixed bug with opcode manager

This commit is contained in:
KimLS
2016-11-05 16:38:57 -07:00
parent 1ada60b611
commit d83e8b7d8f
3 changed files with 12 additions and 14 deletions
+1
View File
@@ -57,6 +57,7 @@ void EQ::Net::DaybreakConnectionManager::Attach(uv_loop_t *loop)
rc = uv_udp_recv_start(&m_socket,
[](uv_handle_t* handle, size_t suggested_size, uv_buf_t* buf) {
buf->base = new char[suggested_size];
memset(buf->base, 0, suggested_size);
buf->len = suggested_size;
},
[](uv_udp_t* handle, ssize_t nread, const uv_buf_t* buf, const struct sockaddr* addr, unsigned flags) {