public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
From: Marcel Holtmann <marcel@holtmann.org>
To: BlueZ users <bluez-users@lists.sourceforge.net>
Subject: Re: [Bluez-users] PAND Network
Date: Thu, 19 Oct 2006 16:17:30 +0200	[thread overview]
Message-ID: <1161267450.27710.47.camel@localhost> (raw)
In-Reply-To: <20061019140002.EBD9A216219@mrelay1.st2.lyceu.net>

Hi Monica,

> I have tried to find where the error "file exists" arises debugging the
> source code, and I have found it in this function of bnep.c when trying to
> send the ioctl command "bnepconnadd":
> 
> 
> static int bnep_connadd(int sk, uint16_t role, char *dev)
> {
> 	struct bnep_connadd_req req;
> 
> 	strcpy(req.device, dev);
> 	req.sock = sk;
> 	req.role = role;
> 	if (ioctl(ctl, bnepconnadd, &req))
> 		return -1;
> 	strcpy(dev, req.device);
> 	return 0;
> } 

please check the getsockname() and getpeername() output for sk in that
call.

Regards

Marcel



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

  reply	other threads:[~2006-10-19 14:17 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.16579.1161261121.22397.bluez-users@lists.sourceforge.net>
2006-10-19 14:03 ` [Bluez-users] PAND Network Delgado, Monica (ERZIA)
2006-10-19 14:17   ` Marcel Holtmann [this message]
     [not found] <mailman.21307.1161333525.22397.bluez-users@lists.sourceforge.net>
2006-10-23 14:44 ` Delgado, Monica (ERZIA)
     [not found] <mailman.17263.1161267550.22397.bluez-users@lists.sourceforge.net>
2006-10-20  8:12 ` Delgado, Monica (ERZIA)
     [not found] <mailman.56464.1160122795.16222.bluez-users@lists.sourceforge.net>
2006-10-19 10:31 ` Delgado, Monica (ERZIA)
2006-10-19 10:36   ` Marcel Holtmann
2006-10-06  8:22 Delgado, Monica (ERZIA)
     [not found] <mailman.52831.1160008210.16222.bluez-users@lists.sourceforge.net>
2006-10-05 16:23 ` Delgado, Monica (ERZIA)
2006-10-05 16:30   ` Marcel Holtmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1161267450.27710.47.camel@localhost \
    --to=marcel@holtmann.org \
    --cc=bluez-users@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox