labath wrote:

>  If you want to execute such child process for unix socket too, it is 
> necessary to transfer the protocol somehow too.

I do want it. I don't think it's necessary to transfer the type of the socket, 
as that can be determined by inspecting the socket FD 
(`getsockopt(SO_DOMAIN/SO_PROTOCOL)`). I'd probably do it by creating a new 
`Socket::Create` static function which takes the FD, and instantiates the 
appropriate type based on what this function returns.

https://github.com/llvm/llvm-project/pull/104238
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to