* [Bluez-users] simple relay scatternet and a question
@ 2005-02-01 7:02 안희준
2005-02-01 8:10 ` Marcel Holtmann
0 siblings, 1 reply; 2+ messages in thread
From: 안희준 @ 2005-02-01 7:02 UTC (permalink / raw)
To: bluez-users
[-- 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 --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Bluez-users] simple relay scatternet and a question
2005-02-01 7:02 [Bluez-users] simple relay scatternet and a question 안희준
@ 2005-02-01 8:10 ` Marcel Holtmann
0 siblings, 0 replies; 2+ messages in thread
From: Marcel Holtmann @ 2005-02-01 8:10 UTC (permalink / raw)
To: BlueZ Mailing List
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-02-01 8:10 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-02-01 7:02 [Bluez-users] simple relay scatternet and a question 안희준
2005-02-01 8:10 ` Marcel Holtmann
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.