That indeed sounds much easier than having to keep our own list inside the dll. Thanks, Henri.
Bruno
On Thursday, August 27, 2015, Matt Durgavich mattdurgavich@gmail.com wrote:
Cool. I'll whip up another patch with this approach. I thought this piece of work would be straightforward ;)
Thanks!
Best, -Matt
On Thu, Aug 27, 2015 at 8:47 AM, Henri Verbeet <hverbeet@gmail.com javascript:_e(%7B%7D,'cvml','hverbeet@gmail.com');> wrote:
On 27 August 2015 at 14:09, Bruno Jesus <00cpxxx@gmail.com javascript:_e(%7B%7D,'cvml','00cpxxx@gmail.com');> wrote:
I have other email asking how to list all sockets from inside the
server but
I didn't get any replies so at that time I thought it was not possible
to do
that.
You'd iterate over current->process->handles->entries and compare entry->ptr->ops against sock_ops. I.e., enumerate_handles() in server/handle.c, although that seems currently unused.