public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
From: "Olivier Le Pogam" <olepogam@free.fr>
To: <bluez-devel@lists.sourceforge.net>
Subject: [Bluez-devel] Concurrency / Multi processing questions
Date: Fri, 27 Oct 2006 22:50:35 +0200	[thread overview]
Message-ID: <002701c6fa09$92116120$0100a8c0@kayleigh> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 1263 bytes --]

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

[-- Attachment #1.2: Type: text/html, Size: 2894 bytes --]

[-- Attachment #2: "AVG certification" --]
[-- Type: text/plain, Size: 151 bytes --]

No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.408 / Virus Database: 268.13.11/497 - Release Date: 25/10/2006


[-- Attachment #3: Type: text/plain, Size: 373 bytes --]

-------------------------------------------------------------------------
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

[-- Attachment #4: Type: text/plain, Size: 164 bytes --]

_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

             reply	other threads:[~2006-10-27 20:50 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-27 20:50 Olivier Le Pogam [this message]
2006-10-29 14:25 ` [Bluez-devel] Concurrency / Multi processing questions Peter Wippich
2006-10-29 19:52   ` Olivier Le Pogam
2006-10-29 20:00   ` Marcel Holtmann
2006-10-30 12:45     ` Peter Wippich
2006-10-30 12:57       ` Marcel Holtmann
2006-10-30 13:09         ` Olivier Le Pogam

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='002701c6fa09$92116120$0100a8c0@kayleigh' \
    --to=olepogam@free.fr \
    --cc=bluez-devel@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