From: "Olivier Le Pogam" <olepogam@free.fr>
To: "BlueZ development" <bluez-devel@lists.sourceforge.net>
Subject: Re: [Bluez-devel] Concurrency / Multi processing questions
Date: Mon, 30 Oct 2006 14:09:17 +0100 [thread overview]
Message-ID: <000a01c6fc24$9aec56c0$0100a8c0@kayleigh> (raw)
In-Reply-To: 1162213066.24333.53.camel@localhost
Hi Marcel,
> that is how sockets work. You call listen() to create the actual
> listener and then accept() for every connection. You can't have two
> different listener that wanna listen on the same RFCOMM channel, but
> that is also true for TCP/IP.
>
> However you can bind one listener to BDADDR_ANY and the other one to the
> actual address of the local dongle, but in that case the listener bound
> to the local address always wins.
That's quite similar to TCP server sockets indeed, my concern is about
channels
reusing in a RFCOMM Service (which is always providing a service on channel
14
for example). Just wondering if there is something similar to SO_REUSEADDR,
implicitly, or explicitly, so that a Service can concurrently have several
clients on the
same bluetooth adaptor with read/write operations. And of course, there is
only
one listen() per adaptator, the fork() is done only for the IO processing
part.
Does someone know ?
Oli
--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.408 / Virus Database: 268.13.17/505 - Release Date: 27/10/2006
-------------------------------------------------------------------------
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
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
prev parent reply other threads:[~2006-10-30 13:09 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-10-27 20:50 [Bluez-devel] Concurrency / Multi processing questions Olivier Le Pogam
2006-10-29 14:25 ` 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 [this message]
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='000a01c6fc24$9aec56c0$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