Fix issue #4 by replacing localhost with 127.0.0.1 as destination (localhost resolves to IPv6 address and listening socket is only IPv4; Bump minimal supported Windows version to Windows 7.
This commit is contained in:
@@ -71,7 +71,8 @@ private:
|
||||
}
|
||||
|
||||
void deadlineHandler() {
|
||||
if (_dt.expires_at() <= deadline_timer::traits_type::now()) {
|
||||
auto delta = deadline_timer::traits_type::now() - _dt.expires_at();
|
||||
if (delta != not_a_date_time && delta >= milliseconds(0)) {
|
||||
_socket.cancel();
|
||||
_dt.expires_at(boost::posix_time::pos_infin);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user