Return-Path: Subject: Re: [Bluez-devel] rfcomm socket and rfcomm tty From: Marcel Holtmann To: BlueZ Mailing List In-Reply-To: References: Content-Type: text/plain Message-Id: <1104778495.8894.59.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: Mon, 03 Jan 2005 19:54:55 +0100 Hi, > First of all i would like to say > thanks for you previuos help. Well, I > am having problems on RFCOMM socket too. > > if (bind(sock, (struct sockaddr > *)&addr, alen) < 0) { > perror("bind"); > exit(1); > } > > can you tell me if there is anything > wrong is this code? I got a run time > error that says > > bind:Socket operation on non socket this code as-is looks correct, but the context is missing. Show us the complete function. Regards Marcel ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Bluez-devel mailing list Bluez-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-devel