packet_* => tstream glue

Andrew Bartlett abartlet at samba.org
Wed Nov 4 14:39:43 MST 2009


On Wed, 2009-11-04 at 16:20 +0100, Stefan (metze) Metzmacher wrote:
> Hi Andrew,
> 
> here's the wrapper to use the packet_* full_request functions with tstream.
> 
> http://gitweb.samba.org/?p=metze/samba/wip.git;a=commitdiff;h=7123249cbbc8c5b72d1fbe4936cbd2b6cd4ddee9
> 
> (I haven't compiled it yet...)

And I've not tried it, but it does look like it could be very useful. 

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.

Thanks,

Andrew Bartlett

-- 
Andrew Bartlett                                http://samba.org/~abartlet/
Authentication Developer, Samba Team           http://samba.org
Samba Developer, Cisco Inc.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20091105/75208677/attachment.pgp>


More information about the samba-technical mailing list