Browse Source
Merge pull request #8454 from liamwhite/inaddr-any
core/debugger: allow remote connections
pull/15/merge
Morph
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
src/core/debugger/debugger.cpp
|
|
|
@ -96,7 +96,7 @@ private: |
|
|
|
connection_thread = std::jthread([&, port](std::stop_token stop_token) { |
|
|
|
try { |
|
|
|
// Initialize the listening socket and accept a new client.
|
|
|
|
tcp::endpoint endpoint{boost::asio::ip::address_v4::loopback(), port}; |
|
|
|
tcp::endpoint endpoint{boost::asio::ip::address_v4::any(), port}; |
|
|
|
tcp::acceptor acceptor{io_context, endpoint}; |
|
|
|
|
|
|
|
acceptor.async_accept(client_socket, [](const auto&) {}); |
|
|
|
|