diff options
| author | 2022-06-13 14:38:20 -0400 | |
|---|---|---|
| committer | 2022-06-13 14:38:20 -0400 | |
| commit | 7582717c9d1cb0f7426f9f44a05908468daea8b3 (patch) | |
| tree | 6b8616f9864bf0531e4d1d404b1d69f6a4bf2830 /src/core/debugger/debugger.cpp | |
| parent | Merge pull request #8443 from liamwhite/code-mem (diff) | |
| parent | core/debugger: allow remote connections (diff) | |
| download | yuzu-7582717c9d1cb0f7426f9f44a05908468daea8b3.tar.gz yuzu-7582717c9d1cb0f7426f9f44a05908468daea8b3.tar.xz yuzu-7582717c9d1cb0f7426f9f44a05908468daea8b3.zip | |
Merge pull request #8454 from liamwhite/inaddr-any
core/debugger: allow remote connections
Diffstat (limited to 'src/core/debugger/debugger.cpp')
| -rw-r--r-- | src/core/debugger/debugger.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/debugger/debugger.cpp b/src/core/debugger/debugger.cpp index 8d64990ed..7774ffdef 100644 --- a/src/core/debugger/debugger.cpp +++ b/src/core/debugger/debugger.cpp | |||
| @@ -96,7 +96,7 @@ private: | |||
| 96 | connection_thread = std::jthread([&, port](std::stop_token stop_token) { | 96 | connection_thread = std::jthread([&, port](std::stop_token stop_token) { |
| 97 | try { | 97 | try { |
| 98 | // Initialize the listening socket and accept a new client. | 98 | // Initialize the listening socket and accept a new client. |
| 99 | tcp::endpoint endpoint{boost::asio::ip::address_v4::loopback(), port}; | 99 | tcp::endpoint endpoint{boost::asio::ip::address_v4::any(), port}; |
| 100 | tcp::acceptor acceptor{io_context, endpoint}; | 100 | tcp::acceptor acceptor{io_context, endpoint}; |
| 101 | 101 | ||
| 102 | acceptor.async_accept(client_socket, [](const auto&) {}); | 102 | acceptor.async_accept(client_socket, [](const auto&) {}); |