From: Marcel Holtmann <marcel@holtmann.org>
To: "Collin R. Mulliner" <collin@betaversion.net>
Cc: BlueZ Mailing List <bluez-devel@lists.sourceforge.net>
Subject: Re: [Bluez-devel] Problems while sending and receiving with rfcomm sockects
Date: Tue, 01 Jun 2004 16:31:07 +0200 [thread overview]
Message-ID: <1086100267.4702.23.camel@pegasus> (raw)
In-Reply-To: <20040601145616.3419c335@coredump>
Hi Collin,
> > I never used RFCOMM in a multi-threaded program. Actually I avoid to
> > use threads wherever possible. However sending and receiving at the
> > same time should work. Maybe there is a kernel bug, what version do
> > you use?
>
> I allways thought one should ONLY use a socket within a single thread
> at the same time. I write my programs in that way that I never call
> read() and write() on a specific socket at the "same time" also I
> only access each socket within a single thread.
this is why we have select() and poll().
> Somehting else: I need a UUID for my application - any hints on where to
> find some information/instructions?
You must create a UUID-128. There was note in the specification about
that, but I can't remember it.
Regards
Marcel
-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g.
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
next prev parent reply other threads:[~2004-06-01 14:31 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-06-01 11:16 [Bluez-devel] Problems while sending and receiving with rfcomm sockects dsas
2004-06-01 12:34 ` Marcel Holtmann
2004-06-01 12:56 ` Collin R. Mulliner
2004-06-01 14:31 ` Marcel Holtmann [this message]
[not found] ` <1086094626.40bc7d22eab66@webmail.rnl.ist.utl.pt>
2004-06-01 14:32 ` Marcel Holtmann
[not found] ` <1086094054.1978.26.camel@fischer>
2004-06-01 15:07 ` dsas
2004-06-01 15:16 ` Marcel Holtmann
2004-06-06 15:46 ` [Bluez-devel] " dsas
2004-06-06 15:59 ` Marcel Holtmann
2004-06-06 16:16 ` dsas
2004-06-06 16:26 ` Marcel Holtmann
2004-06-06 20:52 ` Marcel Holtmann
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=1086100267.4702.23.camel@pegasus \
--to=marcel@holtmann.org \
--cc=bluez-devel@lists.sourceforge.net \
--cc=collin@betaversion.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