Return-Path: Subject: Re: [Bluez-users] RFCOMM problem From: Marcel Holtmann To: bluez-users@lists.sourceforge.net In-Reply-To: <312926723.29767@bjut.edu.cn> References: <312926723.29767@bjut.edu.cn> Content-Type: text/plain Message-Id: <1112933715.26175.5.camel@pegasus> Mime-Version: 1.0 Sender: bluez-users-admin@lists.sourceforge.net Errors-To: bluez-users-admin@lists.sourceforge.net Reply-To: bluez-users@lists.sourceforge.net List-Unsubscribe: , List-Id: BlueZ users List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri, 08 Apr 2005 06:15:15 +0200 Hi, > Now,I'm programming with RFCOMM socket. I can use RFCOMM socket to connect with my PDA,but I don't know how to catch the > disconnection event when PDA disconnect the RFCOMM connection between them first. What shall I do ? use select() or poll() and check for a HUP signal. Regards Marcel ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Bluez-users mailing list Bluez-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-users