Re: [Bluez-devel] About rfcomm socket

Marcel Holtmann
2004-12-01T09:48:34Z

Hi Mike,

you posted your request to both mailing lists. Don't do any cross
posting.

> Here is code fragment. I use usual fork practise to run these two
> func do_connect and do_listen. I hard code the bluetooth device to be
> connected just because code is under testing.
> And these two func are using different channel, it can be connected
> when do_connect retry more than 3 times.
> So i do not why it can not be connected when it is trying to connect
> another device.

I don't get your point. Make it clear who is connecting to whom.

And if you don't set your socket to non-blocking the use of select makes
no sense. Show us the full code.

Regards

Marcel