From: Marcel Holtmann <marcel@holtmann.org>
To: Stephen Crane <steve.crane@rococosoft.com>
Cc: BlueZ Mailing List <bluez-devel@lists.sourceforge.net>
Subject: [Bluez-devel] Re: specifying client-side link mode properties before connect()
Date: Wed, 31 Mar 2004 16:52:28 +0200 [thread overview]
Message-ID: <1080744748.2536.13.camel@pegasus> (raw)
In-Reply-To: <1080744176.1907.15.camel@baroque.rococosoft.com>
Hi Stephen,
> I have a server application which can specify the link mode requirements
> of incoming connections using setsockopt(sock, SOL_L2CAP, L2CAP_LM, opt,
> sizeof(opt)). This works fine, if a client can't meet the requirements,
> no connection is made and the server's accept() sees nothing.
>
> However I'd now like to be able to specify these requirements to the
> connect() call on the client-side. That is, I'd like to call setsockopt
> specifying the client's requirements (master, auth, encrypt) before
> calling connect(). While I can /do/ this, the LM parameters seem to have
> no effect. For example, I can set the L2CAP_LM_MASTER flag on both
> sides, yet a connection is still established.
you can set the link mode, but the connection establishment procedure
dont't care about it.
> I suppose my question really is: are there any plans to implement this?
> Or is the usual answer (to send a patch) the correct one :-)?
>>From my side I have no plan to implement it, but if you will do the work
and the patch don't break any other behaviour, I am going to apply it.
Regards
Marcel
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
prev parent reply other threads:[~2004-03-31 14:52 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-03-31 14:42 specifying client-side link mode properties before connect() Stephen Crane
2004-03-31 14:52 ` Marcel Holtmann [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=1080744748.2536.13.camel@pegasus \
--to=marcel@holtmann.org \
--cc=bluez-devel@lists.sourceforge.net \
--cc=steve.crane@rococosoft.com \
/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