[Lldb-commits] [lldb] [lldb] For a host socket, add a method to print the listening address. (PR #118330)
Pavel Labath via lldb-commits
lldb-commits at lists.llvm.org
Tue Dec 3 01:13:44 PST 2024
================
@@ -115,6 +121,15 @@ std::string TCPSocket::GetRemoteConnectionURI() const {
return "";
}
+std::string TCPSocket::GetListeningConnectionURI() const {
----------------
labath wrote:
Like I said in <https://github.com/llvm/llvm-project/pull/116392#discussion_r1860593395>, I believe this should be a vector of strings (addresses). I guess that also means you have to change how you retrieve the address. I'd probably leave GetLocalIPAddress alone, and get the address directly from this function (if there's something reasonable that can be shared with the other function, you can put that into some sort of a helper.
https://github.com/llvm/llvm-project/pull/118330
More information about the lldb-commits
mailing list