From: Marcel Holtmann <marcel@holtmann.org>
To: Vladimeros Vladimerou <vladimer@students.uiuc.edu>
Cc: BlueZ Mailing List <bluez-devel@lists.sourceforge.net>
Subject: Re: [Bluez-devel] l2cap and multiple connections
Date: Fri, 14 May 2004 19:41:46 +0200 [thread overview]
Message-ID: <1084556506.25099.197.camel@pegasus> (raw)
In-Reply-To: <Pine.GSO.4.31.0405141228510.13007-100000@ux7.cso.uiuc.edu>
Hi Vlad,
> I'm trying to achieve multiple l2cap channels/connections (1 master to 5
> slaves). I'm wondering if anyone knows the method off-hand, so that I
> won't have to look into library and kernel source. I was naively
> trying to bind several sockets to the same address, after issuing a
> "setsockopt(sock, SOL_SOCKET, SO_REUSEADDR, &one, sizeof(one));" but
> even if this call returns "Success", the next bind() returns
> "Address already in use". How is this conventionally done?
> Do I have to step down to HCI?
you should step down to a book for socket programming. Which actually
means bind() once and accept() often ;)
> I'm also wondering if l2cap is the fastest way to send a custom 64-byte
> message to 5 clients (real-time application). Has anyone used SCO for
> such a purpose?
SCO is for audio data only. How often must I repeat this. Maybe eSCO is
able to serve the real-time need, but I am not really sure about it.
Regards
Marcel
-------------------------------------------------------
This SF.Net email is sponsored by: SourceForge.net Broadband
Sign-up now for SourceForge Broadband and get the fastest
6.0/768 connection for only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id=2562&alloc_id=6184&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-05-14 17:41 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-05-14 17:36 [Bluez-devel] l2cap and multiple connections Vladimeros Vladimerou
2004-05-14 17:41 ` Marcel Holtmann [this message]
2004-05-14 17:50 ` Vladimeros Vladimerou
2004-05-14 17:56 ` 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=1084556506.25099.197.camel@pegasus \
--to=marcel@holtmann.org \
--cc=bluez-devel@lists.sourceforge.net \
--cc=vladimer@students.uiuc.edu \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.