From: mike lee <mikelee@avantwave.com>
To: bluez-users@lists.sourceforge.net
Subject: Re: [Bluez-users] about rfcomm tty channel listening
Date: Tue, 31 May 2005 10:28:35 +0800 [thread overview]
Message-ID: <429BCBD3.90205@avantwave.com> (raw)
In-Reply-To: <1117471183.7072.192.camel@pegasus>
Marcel Holtmann wrote:
>Hi,
>
>
>
>> When i bind a rfcomm tty socket, Could i serve mulitple connections
>>at the same time? And how about rfcomm raw socket? if the answer is no,
>>that mean i need to open a new channel to listen.
>> Also , could i connect the rfcomm channel in the same computer?
>>
>>
>
>be more specific in what you are trying to do. I can't follow you.
>
>Regards
>
>Marcel
>
>
Sorry for my bad english, may be i describe more.
I am now writing a server program to accept 2 rfcomm connections. I
found that it is not possible to accept 2 connections with same channel.
Why i ask this because, in tcp socket, a server create a socket with
e.g. 80 port. It can then accept multiple connections with the same port
number. The behavior is different between channel and socket.
So, if i want to make multiple connections with rfcomm, i need to
bind, listen and accept in another rfcomm socket. Does this thinking
correct?
I hope i can describe more clearly.
>
>
>
>-------------------------------------------------------
>This SF.Net email is sponsored by Yahoo.
>Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
>Search APIs Find out how you can build Yahoo! directly into your own
>Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
>_______________________________________________
>Bluez-users mailing list
>Bluez-users@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/bluez-users
>
>
>
--
Software Engineer
Mike Lee
Avantwave limited
Tel: 852-29527125
-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
next prev parent reply other threads:[~2005-05-31 2:28 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-05-30 12:19 [Bluez-users] about rfcomm tty channel listening mike lee
2005-05-30 16:39 ` Marcel Holtmann
2005-05-31 2:28 ` mike lee [this message]
2005-05-31 7:32 ` 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=429BCBD3.90205@avantwave.com \
--to=mikelee@avantwave.com \
--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