public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* [Bluez-users] nonblocking socket
@ 2006-08-02 22:26 Jeff Wilson
  2006-08-03 10:29 ` Marcel Holtmann
  0 siblings, 1 reply; 6+ messages in thread
From: Jeff Wilson @ 2006-08-02 22:26 UTC (permalink / raw)
  To: BlueZ users

I am using bluez-libs-2.25 on 2.6.11-mh2 to develop BlueZ support for
a multithreaded process.  My BlueZ contribution opens a non-blocking
RFCOMM socket in one thread, and blocking SDP query in another.  So
far, I have RFCOMM support working, and I have also integrated
Bluetooth inquiry and SDP queries.

When I set RFCOMM to nonblocking, the sdp_connect returns an error,
with errno set to EALREADY.  Why does one thread affect the other?

This same SDP query worked fine before I change the RFCOMM to nonblocking.

I can provide hcidump or source code if needed.

    Thanks,
       Jeff

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2006-08-04  0:05 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-08-02 22:26 [Bluez-users] nonblocking socket Jeff Wilson
2006-08-03 10:29 ` Marcel Holtmann
2006-08-03 17:17   ` Jeff Wilson
2006-08-03 21:45     ` Jeff Wilson
2006-08-04  0:05       ` Marcel Holtmann
2006-08-03 22:49         ` Jeff Wilson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox