Return-Path: Subject: Re: [Bluez-devel] Problem to really close RFComm socket From: Marcel Holtmann To: bluez-devel@lists.sourceforge.net In-Reply-To: <4256B7BB.3090800@palmsource.com> References: <4256B7BB.3090800@palmsource.com> Content-Type: text/plain Message-Id: <1112981304.9783.15.camel@pegasus> Mime-Version: 1.0 Sender: bluez-devel-admin@lists.sourceforge.net Errors-To: bluez-devel-admin@lists.sourceforge.net Reply-To: bluez-devel@lists.sourceforge.net List-Unsubscribe: , List-Id: BlueZ development List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri, 08 Apr 2005 19:28:24 +0200 Hi Frederic, > I am trying to use RFComm sockets, but I have a problem when I close the > socket, it does not close RFComm or ACL connection. > So, if I try to reconnect I got an error 0x10. I used hcidump and > nothing happens when close is called. > The only way to really close is to stop the app. are you using fork() in between? The close() will close the DLC and if all DLCs are closed it will close the session. If no other session is active the underlaying ACL link will be terminated. 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-devel mailing list Bluez-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-devel