On 27 August 2015 at 14:09, Bruno Jesus 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.