From: 안희준 <heejune@snut.ac.kr>
To: bluez-users@lists.sourceforge.net
Subject: [Bluez-users] simple relay scatternet and a question
Date: Tue, 1 Feb 2005 16:02:29 +0900 [thread overview]
Message-ID: <265ff2abcc101.heejune@snut.ac.kr> (raw)
[-- Attachment #1: Type: text/plain, Size: 1161 bytes --]
Dear Bluezers,
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 ????
Please kindly comment this.
Thanks.
[-- Attachment #2: Type: text/html, Size: 2199 bytes --]
next reply other threads:[~2005-02-01 7:02 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-02-01 7:02 안희준 [this message]
2005-02-01 8:10 ` [Bluez-users] simple relay scatternet and a question 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=265ff2abcc101.heejune@snut.ac.kr \
--to=heejune@snut.ac.kr \
--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 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.