Hi,
I think having understood the main concepts of
RFCOMM
connections (DLC, DLCI ...) however I really wonder
about
multi processing (globally and in BlueZ
specifically)
- If I want to write a service (published in
the SDP) for example
on channel 9, can I write a forking server (forking
at each accept
so it can accept a new incoming connection from
another
remote device while the first connection is being
managed ?)
We assume we have only one bdaddr (bluetooth
adaptor) in local
I suppose it could lead to 2 concurrent connection
tuples like these ones :
( (local_bdaddr, channel 9) - (remote1_addr,
channel9) )
( (local_bdaddr, channel 9) - (remote2_addr,
channel9) )
Is it possible ? Without any conflicts ? I know on
the local service
we would have the same DLCI for both sockets. In
TCP it would be
possible with REUSEADDR, would it be the same here
?
- Now taking a reverse problem, let's assume I have
a client
application that will "push" content to mobile
phones, on channel 9.
Can I run concurrent pushers on my computer
?
Concurrent tuples would look like the same as
formerly, except
that the server / client roles are reversed
here.
Thanks a lot for helping me, believe I have
searched a lot before
asking !
Oli