From: Marcel Holtmann <marcel@holtmann.org>
To: BlueZ Mailing List <bluez-users@lists.sourceforge.net>
Subject: Re: [Bluez-users] simple relay scatternet and a question
Date: Tue, 01 Feb 2005 09:10:43 +0100 [thread overview]
Message-ID: <1107245443.8848.23.camel@pegasus> (raw)
In-Reply-To: <265ff2abcc101.heejune@snut.ac.kr>
Hi,
> I am working on contrcuting a simple relay scatternet with CSR-based
> USB dongle.
>
> Yesterday I made it that 4 dongle relay data from top to down and dwon
> to top, writing a utility code based on rfcomm program in bluez-util.
>
> I works fine!
>
>
>
> A ------------------>B-----------------> C ------------------> D
>
> M S M S M
> S
>
>
>
>
>
> But, while I am running it serveral time. I got a one difficult
> problem "Can't bind: Address already in Use!"
>
> This is old problem in TCP/IP socket program, when the server clashes
> without close the socket, so that the well-kown (or fixed anyway)
>
> cannot be resused again for a several minutes in typical TCP/IP socket
> program.
>
>
>
> But! what is the port in rfcomm socket? Is this channel numer? or
> board address?.
>
> And Can I use socketopt system call for the rfcomm socket ? for
> RESUSE option!
>
> Also, the socket address is not freed for even 30 minutes, while
> usually TCP/IP port is can be resued after several minutes!
>
> What part of kernel stack has something with this??? rfcomm.o ????
what kernel version do you use and what about showing us your code?
Regards
Marcel
-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
prev parent reply other threads:[~2005-02-01 8:10 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-02-01 7:02 [Bluez-users] simple relay scatternet and a question 안희준
2005-02-01 8:10 ` 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=1107245443.8848.23.camel@pegasus \
--to=marcel@holtmann.org \
--cc=bluez-users@lists.sourceforge.net \
/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