Merge pull request #601 from regnarg/master
Fix compatibility with Boost 1.66
This commit is contained in:
commit
0fef26189d
1 changed files with 1 additions and 1 deletions
|
|
@ -138,7 +138,7 @@ unsigned short BaseSocketMessenger<stream_protocol>::local_port() const {
|
|||
|
||||
template <typename stream_protocol>
|
||||
void BaseSocketMessenger<stream_protocol>::set_no_delay() {
|
||||
const auto fd = socket->native();
|
||||
const auto fd = socket->native_handle();
|
||||
int flag = 1;
|
||||
const auto ret =
|
||||
::setsockopt(fd, IPPROTO_TCP, TCP_NODELAY,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue