public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
From: Xavier Garreau <x.garreau@prim-time.fr>
To: bluez-devel@lists.sourceforge.net
Subject: Re: [Bluez-devel] using select()?
Date: Wed, 01 Dec 2004 10:24:33 +0100	[thread overview]
Message-ID: <41AD8DD1.9020904@prim-time.fr> (raw)
In-Reply-To: <000a01c4d733$8609ce30$6401000a@zool>

Hi,

> Is there anyware some examples or any source code in the BlueZ utils. 
> where they use the standard network select() function?
> I really want to use this instead of the more "heavier" fork() function. :-)

Marcel sent us some time ago an example which uses poll on hci raw sockets.

A cached version can be found here : 
http://www.xgarreau.org/temp/bluetooth_docs/bluez/mh_hci_raw.c

Maybe Marcel has a more recent example ?

Regards,
Xavier Garreau


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

      parent reply	other threads:[~2004-12-01  9:24 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-11-30 23:22 [Bluez-devel] using select()? Steffen Larsen
2004-12-01  6:23 ` Marcel Holtmann
2004-12-01  9:24 ` Xavier Garreau [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=41AD8DD1.9020904@prim-time.fr \
    --to=x.garreau@prim-time.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