Return-Path: From: Mayank BATRA To: "'BlueZ development'" Date: Tue, 1 Aug 2006 17:26:14 +0530 Message-ID: <001501c6b561$7d725d60$9d0cc70a@dlh.st.com> MIME-Version: 1.0 In-Reply-To: <20060801113228.GB15098@esaurito.net> Subject: Re: [Bluez-devel] Reading data on two l2cap sockets 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 Filippo, > I don't know the internals but you should really FD_SET > readfds after every > select() invocation, i.e. move the readfds initialization > inside the while loop. Thanks for your suggestions. It actually works! I had been spending so much time figuring out why it does not work. Regards, Mayank ------------------------------------------------------------------------- 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