Re: [Bluez-devel] L2CAP: One failing connection hurts others?

Stefan Mischke
2004-09-16T10:30:04Z

Hi Marcel!

Marcel Holtmann schrieb:

>use the linger support of the L2CAP socket and put a "sleep 2" between
>the first and the second l2test call.
>
>
>
Your suggestions have no effect for me. Still errno 16. I think at the
moment it is not possible to connect concurrently via l2cap if one
device is down. But as a workaround I can use non-blocking connect (but
with a timeout of 60 seconds just to prevent deadlocks) and simply
reduce the pageto. My connection attempts are sequential anyway because
of the master-slave-limit. But I would suggest to change the behavior of
l2cap to allow more concurrent connection attempts even if some devices
are down.

Regards
Stefan