async irpc servers?

tridge at samba.org tridge at samba.org
Sun Sep 25 13:20:48 GMT 2005


Volker,

 > Is that fixable? Or should I rather send the reply in another irpc message
 > (which feels wrong to me)?

I've added a defer_reply field in the irpc_message structure. You
should be able to do deferred replies now like this:

  irpc->defer_reply = True;

then when you are ready to send the reply do:

  irpc_send_reply(irpc, status);

Cheers, Tridge


More information about the samba-technical mailing list