mirror of
https://gitlab.isc.org/isc-projects/kea
synced 2025-09-05 00:15:17 +00:00
asiolink: fix build with boost 1.66
- use native_handle() for getting native socket type - use io_context instead of io_service
This commit is contained in:
committed by
Baptiste Jonglez
parent
7272a2f252
commit
4fd11ef050
@@ -61,7 +61,11 @@ public:
|
||||
|
||||
/// \brief Return file descriptor of underlying socket
|
||||
virtual int getNative() const {
|
||||
#if BOOST_VERSION < 106600
|
||||
return (socket_.native());
|
||||
#else
|
||||
return (socket_.native_handle());
|
||||
#endif
|
||||
}
|
||||
|
||||
/// \brief Return protocol of socket
|
||||
|
Reference in New Issue
Block a user