Return-Path: Message-ID: Date: Tue, 23 Jan 2007 18:15:13 -0300 From: "Ulisses Furquim" To: "BlueZ development" In-Reply-To: MIME-Version: 1.0 References: Subject: Re: [Bluez-devel] checking RFCOMM status 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 On 1/23/07, Mark S. Townsley wrote: > Is there any way I can get the status of an RFCOMM socket connection to > detect whether it is still alive or it has been disconnected somehow? In my > application (in C++), I need to stay on top of the status of the RFCOMM > connection and do something if it is no longer active for some reasons You can use select() or poll() on the socket to know which events occurred. -- Ulisses ------------------------------------------------------------------------- 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