echo_server tevent_req sample code

Volker Lendecke Volker.Lendecke at SerNet.DE
Thu Aug 1 23:03:44 MDT 2013


On Fri, Aug 02, 2013 at 12:02:19PM +1200, Andrew Bartlett wrote:
> On Tue, 2013-07-30 at 14:47 +0200, Volker Lendecke wrote:
> > Hi!
> > 
> > Attached find sample code file for lib/tevent that
> > implements a self-contained echo server. I would like to
> > publish this with a permissive license, so that anybody can
> > make use of it. I copied tevent_req_is_unix_error, according
> > to git blame this is exclusively my code, so I should be
> > able to relicense. I need to find out how to weave this into
> > the doxygen documentation. Then I would thoroughly extend
> > its documentation to make it a "best practices" starting
> > point for tevent_req use. Possibly a simple echo client
> > doing parallel client connects could follow.
> > 
> > Comments?
> 
> G'Day,
> 
> Good examples are always a really good thing, and I think this a really
> sensible idea.  The permissive license seems entirely sensible for the
> use case you want here.  Per your follow-up, I don't see how it harms
> the rest of Samba.  Having it in the tree means we can build it and
> ensure it still works. 
> 
> The license text itself seems ideal for sample code, is it a standard
> license?   I couldn't find this specific text online, but by the same
> token I couldn't find any suitable standard license either. 

It's slightly modified from

source3/librpc/idl/IDL_LICENSE.txt

Volker

-- 
SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: +49-551-370000-0, fax: +49-551-370000-9
AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen
http://www.sernet.de, mailto:kontakt at sernet.de


More information about the samba-technical mailing list