From owner-freebsd-current Mon Jun 1 15:07:11 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA19897 for freebsd-current-outgoing; Mon, 1 Jun 1998 15:07:11 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from smtp02.primenet.com (root@smtp02.primenet.com [206.165.6.132]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA19886 for ; Mon, 1 Jun 1998 15:07:07 -0700 (PDT) (envelope-from tlambert@usr05.primenet.com) Received: (from daemon@localhost) by smtp02.primenet.com (8.8.8/8.8.8) id OAA02636; Mon, 1 Jun 1998 14:46:04 -0700 (MST) Received: from usr05.primenet.com(206.165.6.205) via SMTP by smtp02.primenet.com, id smtpd002584; Mon Jun 1 14:45:54 1998 Received: (from tlambert@localhost) by usr05.primenet.com (8.8.5/8.8.5) id OAA25252; Mon, 1 Jun 1998 14:45:47 -0700 (MST) From: Terry Lambert Message-Id: <199806012145.OAA25252@usr05.primenet.com> Subject: Re: Service Location Protocol To: dom@myrddin.demon.co.uk (Dom Mitchell) Date: Mon, 1 Jun 1998 21:45:47 +0000 (GMT) Cc: tlambert@primenet.com, current@FreeBSD.ORG In-Reply-To: from "Dom Mitchell" at Jun 1, 98 08:03:58 am X-Mailer: ELM [version 2.4 PL25] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > When I ported the sample implementation of the Service Location > > Protocol code from Sun Microsystems, I had to de-Linux the type > > type declarations, then memset( &x, 0, sizeof(struct sockaddr_in)); > > all over the place. > > Do you have a copy of this in a publically available location - it's > something I've been wanting to play with... The licensing is kind of bogus: * This implementation of Service Location Protocol for Linux * (Sun Linux SLP) is a product of Sun Microsystems, Inc. and is provided * for unrestricted use provided that this legend is included on all tape * media and as a part of the software program in whole or part. Users * may copy or modify Sun Linux SLP without charge, but are not authorized * to license or distribute it to anyone else except as part of a product or * program developed by the user. There's really no good reason for this. You can contact the same place I did to get the sample implementation: Charles.Perkins@Eng.Sun.COM and then I can send you the patches to de-Linux it. One real problem with SLP is that the service definitions are less than useful (currently, only LPR is defined in a draft standard, and the attributes provided in the draft are a very bad match to any printer hardware I've ever used). My soloution to this was to define myself as a namespace authority ("appliance") in place of the default of "iana", and start defining more rational URL's for services like "I will relay mail for your service group", etc.. Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message