packet_* => tstream glue
Volker.Lendecke at SerNet.DE
Wed Nov 4 15:07:30 MST 2009
On Thu, Nov 05, 2009 at 08:39:43AM +1100, Andrew Bartlett wrote:
> The use of 'send' and 'recv' in the tsocket code is really quite
> confusing. In this case, it means 'start' and 'conclude' (or 'finish')
> the asynchronous operations, rather than to send() and recv() packets.
> Would it be at all possible to change those names? It really bends the
> mind a bit too much.
Please don't. tsocket_recv_send and tsocket_recv_recv is
indeed confusing, but all the other async functions use
_send and _recv. With the async functions you usually don't
use these low-level direct async counterparts of the sendto
and recvfrom syscalls much anyway, in Samba3 we mostly use
the writev and read_packet which are much more powerful.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: not available
More information about the samba-technical