On Dec 1, 2015, at 11:35 PM, Nico <guillotnicolas@hotmail.com> wrote:
Hello.
I hope there is still somebody at the other side on the mailing list...
First, congratulations for your dcerpc product, it's an impressive work.
My question: I do a rpc_server_listen in a thread (I am on linux, so pthread, but created with dcethread_create).
And I want to exit this function without killing my whole process, and I don't manage to do that.
I tried several things:
• dcethread_enableinterrupt in the listening thread
and dcethread_interrupt in the main thread.
• dcethread_signal_to_interrupt for dcethread_self() in the listening thread, with DCETHREAD_TRY / CATCH
and dcethread_kill in the main thread.
None works..
Hi Nicolas,
I checked the Microsoft API and the inverse of RpcServerListen() would be RpcMgmtStopServerListening(). The DCE equivalent of this is rpc_mgmt_stop_server_listening().
http://pubs.opengroup.org/onlinepubs/9629399/rpc_server_listen.htm
FWIW I've never tried to use this particular call, but I assume that it works :)
cheers,
James