If slpd returns a -3, it usually means that the deregistration didn't find
that service URL in its database. The network communications have completed
fine. This seems to be working fine on my Windows box, and I only get the
-3 if the record had expired and was removed from slpd.
--Nick
On Wed, Feb 27, 2008 at 7:31 PM, jim marshall <
[EMAIL PROTECTED]> wrote:
> Hi John, et al...
> I have compiled the latest svn tree on Solaris, the slpd program
> appears to start however; when I try to use slptool it returns
>
> $ ./slptool register service:myserv.http://localhost "(attr1=val1)"
> errorcode: -19
>
> This is the same error that my service gets when it tries to register
>
> Debugging slptool it appears that slptool is successfully sending a
> message via SLPNetworkSendMessage but when we go into
> SLPNetworkRecvMessage the select call always returns 0.
>
> The only 'odd' thing I noticed is that that in
> 'SLPNetworkCreateDatagram' the following call is made:
>
> 110 setsockopt(result, SOL_SOCKET, SO_RCVLOWAT,
> (gdb) n
> 112 setsockopt(result, SOL_SOCKET, SO_SNDLOWAT,
> (gdb) print errno
> $56 = 99
>
> as you can see the first setsockopt call is failing with errno set to 99
> (Option not supported by protocol). Dunno if that means anything or not
> (I presume not since there is no check for the setsockopt result).
>
> As an aside I am having a different issue on Windows:
>
> C:\bin>slptool register service:myserv.x://myhost.com
> "(attr1=val1),(attr2=val2)"
> C:\bin>slptool findsrvs service:myserv.x
> C:\bin>slptool deregister service:myserv.x://myhost.com
> (de)registration errorcode -3
>
> It appears that the slpd on Windows is having a similar issue??
>
> Thoughts?
> Thanks
>
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> Openslp-devel mailing list
> Openslp-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/openslp-devel
>
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Openslp-devel mailing list
Openslp-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openslp-devel