<div>Cool. I'll whip up another patch with this approach. I thought this piece of work would be straightforward ;)</div>
<div><span style="-webkit-tap-highlight-color: transparent;"><br></span></div>
<div><span style="-webkit-tap-highlight-color: transparent;">Thanks!</span></div>
<div class="mailbox_signature">
<br>Best,<div>-Matt</div>
</div>
<br><br><div class="gmail_quote"><p>On Thu, Aug 27, 2015 at 8:47 AM, Henri Verbeet <span dir="ltr"><<a href="mailto:hverbeet@gmail.com" target="_blank">hverbeet@gmail.com</a>></span> wrote:<br></p><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><p>On 27 August 2015 at 14:09, Bruno Jesus <00cpxxx@gmail.com> wrote:
<br>> I have other email asking how to list all sockets from inside the server but
<br>> I didn't get any replies so at that time I thought it was not possible to do
<br>> that.
<br>You'd iterate over current->process->handles->entries and compare
<br>entry->ptr->ops against sock_ops. I.e., enumerate_handles() in
<br>server/handle.c, although that seems currently unused.
<br></p></blockquote></div><br>