From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Message-ID: <000b01c81484$989af5b0$0200a8c0@jester> From: "Olivier Le Pogam" To: "BlueZ development" References: <6656b6540710182155m29cd7441l6dcb9a7d722d5417@mail.gmail.com> <47189691.2000504@cilnu.com><6656b6540710210008v5cc459dv6692a5e8ff888187@mail.gmail.com> <471B5E66.1030601@cilnu.com> Date: Mon, 22 Oct 2007 10:21:50 +0200 MIME-Version: 1.0 Subject: [Bluez-devel] Blocking connect(AF_BLUETOOTH, SOCK_STREAM, BTPROTO_RFCOMM) => EINPROGRESS Reply-To: Olivier Le Pogam , 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, I am trying to perform RFCOMM connection to a mobile phone thanks to a blocking "connect(AF_BLUETOOTH, SOCK_STREAM, BTPROTO_RFCOMM)" (Blocking is the only way for me to get a "Connection Refused" return status !), and if the phone is still asking for the authorization when the connect times out, the connect and leaves with a EINPROGRESS status. Could you please tell me : - If there is a way to extend the blocking "connect" timeout ? - When a connect exists with a "EINPROGRESS" status, does it make sense to try another "connect" on the same socket without doing a complete retry (close / socket / bind / connect) ? Thanks a lot, Oli ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Bluez-devel mailing list Bluez-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-devel