Re: [Bluez-devel] rfcomm bind : Address already in use

Marcel Holtmann
2004-07-10T17:41:11Z

Hi Tetsuo,

> >what kind of peer is this? Why don't you try to fix the problem in the
> >peer device? The BlueZ RFCOMM part is working correct.
>
> The peer is a device for data gathering using DUN + PPP.
>
> I think so, but that device is not our product.
> I cannot fix it.
> (It takes long time to fix the problem...)

then buy another one, because the behavior of that device is wrong.

> The followings is more detailed testing operations.
>
> 1 - I start the application.
> - DUN listen

you should have mentioned that, because dund creates a /dev/rfcommX
device node for starting PPP. Maybe there is a leftover, which leaves
the DLC open and so the session can't be terminated. Maybe a running
pppd holds the socket descriptor open.

But I won't have time to look into that in detail. If you provide me a
patch for dund or for the kernel RFCOMM part, I will review it.

Regards

Marcel

-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
digital self defense, top technical experts, no vendor pitches,
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net