CVS update: samba/source/include
Andrew Tridgell
tridge at linuxcare.com
Mon Jan 3 22:20:42 EST 2000
> andrew, are you generating a "unique" mailslot name? nt uses
> \SRVNAME\MAILSLOT\GETDC\nnn wheree nnn is some suitable function's
> num.ber. this guarantees that a particular function will always receive
> its own mailslots.
yep, I'm using \MAILSLOT\NET\GETDC%d where %d is a randomly generated
number (using generate_trn_id())
previously it was hard-coded to 411 for some reason :)
receive_dgram_packet() is then used to receive packets, and it takes
that mailslot name as its 3rd argument, only returning packets for
which match_mailslot_name() returns true.
More information about the samba-cvs
mailing list