Return-Path: From: Marcel Holtmann To: BlueZ development In-Reply-To: <200702151021.56853.denis.kenzior@trolltech.com> References: <200702151021.56853.denis.kenzior@trolltech.com> Date: Thu, 15 Feb 2007 09:10:55 +0100 Message-Id: <1171527055.28302.8.camel@violet> Mime-Version: 1.0 Subject: Re: [Bluez-devel] dbus-sdp & find_pending_connect Reply-To: BlueZ development List-Id: BlueZ development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Sender: bluez-devel-bounces@lists.sourceforge.net Errors-To: bluez-devel-bounces@lists.sourceforge.net Hi Denis, > I'd like to understand why all SDP related functions in dbus-sdp.c call the > find_pending_connect function? > > Effectively this guards against simultaneous SDP connection attempts to the > same remote device. My understanding is that BlueZ does not have any > limitations against multiple simultaneous connections to the same device, and > neither does the BlueZ sdp daemon. Commenting out find_pending_connect, I > can run up to 6 simultaneous SDP queries to another BlueZ implementation > (this is because sdpd has a queue of up to 5 connections.) So this leads me > to wonder why hcid is not allowing this particular case? actually I have no idea and I didn't write that piece of code. There shouldn't be any limitations, but not all remote SDP implementation can deal with concurrent requests and so we have to be careful. Regards Marcel ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Bluez-devel mailing list Bluez-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-devel