The SLP daemon maintains a list of all DAs, not just the ones sharing one or
more of its scopes.

This list is queried by the library so that it knows what scopes are
available in the whole system, and where they are hosted (on which DAs).
The library then uses this information to send queries to a subset of DAs
directly, according to the scopes in which it has been asked to search.

-----Original Message-----
From: Roel van de Kraats [mailto:r...@advancedcargo.eu]
Sent: 09 December 2010 15:56
To: Morrell Richard (external)
Cc: 'openslp-devel@lists.sourceforge.net'
Subject: Re: [Openslp-devel] Scope list in SRVRQST




On 12/09/2010 04:50 PM, Morrell Richard (external) wrote:
> I presume by "DA service requests" you mean queries for
> service:directory-agent.
Yes, I did. Sorry.
> The daemon checks the scope list, and replies if it is empty, or if its
> scope matches.
>
> Hence, a DA query with an empty scope list is used to elicit replies from
> all DAs regardless of their scopes.
But if a lot of different scopes are used, this causes unnecessary 
network traffic, because the querying slpd is only interesting in DAs 
with the same scope(s). Or am I wrong?

     Roel
> -----Original Message-----
> From: Roel van de Kraats [mailto:r...@advancedcargo.eu]
> Sent: 09 December 2010 15:14
> To: 'openslp-devel@lists.sourceforge.net'
> Subject: [Openslp-devel] Scope list in SRVRQST
>
>
> Dear all,
>
> I noticed that slpd sends DA service requests with an empty scope list,
> even when the scope(s) are explicitly defined in the configuration. In
> MakeActiveDiscoveryRqst() the scope list is left empty.
>
> Why is this? Should this be fixed?
>
> Best regards,
>       Roel
>
>
>
----------------------------------------------------------------------------
> --
> This SF Dev2Dev email is sponsored by:
>
> WikiLeaks The End of the Free Internet
> http://p.sf.net/sfu/therealnews-com
> _______________________________________________
> Openslp-devel mailing list
> Openslp-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/openslp-devel
>
> This email, including any attachment, is a confidential communication
> intended solely for the use of the individual or entity to whom it is
> addressed. It contains information which is private and may be proprietary
> or covered by legal professional privilege. If you have received this
email
> in error, please notify the sender upon receipt, and immediately delete it
> from your system.
>
> Anything contained in this email that is not connected with the businesses
> of this company is neither endorsed by nor is the liability of this
company.
>
> Whilst we have taken reasonable precautions to ensure that any attachment
to
> this email has been swept for viruses, we cannot accept liability for any
> damage sustained as a result of software viruses, and would advise that
you
> carry out your own virus checks before opening any attachment.
>
>
>
----------------------------------------------------------------------------
--
> _______________________________________________
> Openslp-devel mailing list
> Openslp-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/openslp-devel

This email, including any attachment, is a confidential communication
intended solely for the use of the individual or entity to whom it is
addressed. It contains information which is private and may be proprietary
or covered by legal professional privilege. If you have received this email
in error, please notify the sender upon receipt, and immediately delete it
from your system.

Anything contained in this email that is not connected with the businesses
of this company is neither endorsed by nor is the liability of this company.

Whilst we have taken reasonable precautions to ensure that any attachment to
this email has been swept for viruses, we cannot accept liability for any
damage sustained as a result of software viruses, and would advise that you
carry out your own virus checks before opening any attachment.


------------------------------------------------------------------------------
_______________________________________________
Openslp-devel mailing list
Openslp-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openslp-devel

Reply via email to