From: Johan Hedberg <johan.hedberg@gmail.com>
To: Eiko Oltmanns <eiko.oltmanns@web.de>
Cc: linux-bluetooth@vger.kernel.org
Subject: Re: problem with reading from rfcomm socket
Date: Mon, 6 Apr 2009 22:34:43 +0300 [thread overview]
Message-ID: <20090406193443.GA969@jh-x301> (raw)
In-Reply-To: <49DA5249.30008@web.de>
Hi Eiko,
On Mon, Apr 06, 2009, Eiko Oltmanns wrote:
> I think my code should be correct, isn't it? Is there maybe an option in the
> kernel config, that could cause such a behaviour of the socket?
Take a look at existing examples in the bluez source, e.g. tools/rctest.c.
You're missing a call to bind after the call to socket and before the call to
connect.
Joah
next prev parent reply other threads:[~2009-04-06 19:34 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-04-02 19:28 problem with reading from rfcomm socket Eiko Oltmanns
2009-04-06 19:04 ` Eiko Oltmanns
2009-04-06 19:34 ` Johan Hedberg [this message]
2009-04-06 19:39 ` Johan Hedberg
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=20090406193443.GA969@jh-x301 \
--to=johan.hedberg@gmail.com \
--cc=eiko.oltmanns@web.de \
--cc=linux-bluetooth@vger.kernel.org \
/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