* [Bluez-devel] using select()? @ 2004-11-30 23:22 Steffen Larsen 2004-12-01 6:23 ` Marcel Holtmann 2004-12-01 9:24 ` Xavier Garreau 0 siblings, 2 replies; 3+ messages in thread From: Steffen Larsen @ 2004-11-30 23:22 UTC (permalink / raw) To: BlueZ Mailing List [-- Attachment #1: Type: text/plain, Size: 271 bytes --] Hi there, 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. :-) examples? links? Kind Regards. /Steffen Larsen [-- Attachment #2: Type: text/html, Size: 992 bytes --] ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Bluez-devel] using select()? 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 1 sibling, 0 replies; 3+ messages in thread From: Marcel Holtmann @ 2004-12-01 6:23 UTC (permalink / raw) To: BlueZ Mailing List Hi Steffen, > Is there anyware some examples or any source code in the BlueZ utils. > where they use the standard network select() function? there is no difference between using select() with BlueZ. You use poll() or select() as you used to. Check the manual pages for more help. Regards Marcel ------------------------------------------------------- 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 ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Bluez-devel] using select()? 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 1 sibling, 0 replies; 3+ messages in thread From: Xavier Garreau @ 2004-12-01 9:24 UTC (permalink / raw) To: bluez-devel 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 ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2004-12-01 9:24 UTC | newest] Thread overview: 3+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 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 is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox