From: "omap" <omap@uol.com.br>
To: "bluez-devel" <bluez-devel@lists.sourceforge.net>
Subject: Re: [Bluez-devel] rfcomm socket and rfcomm tty
Date: Mon, 3 Jan 2005 16:49:24 -0200 [thread overview]
Message-ID: <I9R8AC$D0025DCFFC50085F41F683811995C5C2@uol.com.br> (raw)
Hi Marcel,
First of all i would like to say
thanks for you previuos help. Well, I
am having problems on RFCOMM socket too.
if (bind(sock, (struct sockaddr
*)&addr, alen) < 0) {
perror("bind");
exit(1);
}
can you tell me if there is anything
wrong is this code? I got a run time
error that says
bind:Socket operation on non socket
> Hi Mike,
>
> > Is it mean that rfcomm socket
can not connect to a rfcomm tty?
> > If the answer is yes, Does it
mean that all program base on bluez
> > should use rfcomm tty to connect
to bluetooth Serial Port profile?
>
> you can use RFCOMM socket or RFCOMM
TTY to connect to the serial port
> profile. Nothing matters and
actually you can convert a socket into a
> TTY if it is needed later. However
if you don't need a TTY for legacy
> reasons then always use the RFCOMM
socket, because this will be much
> cleaner and easier.
>
> Regards
>
> Marcel
>
>
>
>
>
-------------------------------------------------------
> The SF.Net email is sponsored by:
Beat the post-holiday blues
> Get a FREE limited edition
SourceForge.net t-shirt from ThinkGeek.
> It's fun and FREE -- well,
almost....http://www.thinkgeek.com/sfshirt
>
_______________________________________________
> Bluez-devel mailing list
> Bluez-devel@lists.sourceforge.net
>
https://lists.sourceforge.net/lists/listinfo/bluez-devel
> =0A =0A________________________________________________________________=
__________=0AAcabe com aquelas janelinhas que pulam na sua tela.=0AAntiPo=
p-up UOL - =C9 gr=E1tis!=0Ahttp://antipopup.uol.com.br/=0A
-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
next reply other threads:[~2005-01-03 18:49 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-01-03 18:49 omap [this message]
2005-01-03 18:54 ` [Bluez-devel] rfcomm socket and rfcomm tty Marcel Holtmann
-- strict thread matches above, loose matches on Subject: below --
2005-01-03 19:12 omap
2005-01-03 19:52 ` Marcel Holtmann
2004-12-28 9:03 mike
2004-12-29 10:25 ` Marcel Holtmann
2004-12-30 1:55 ` mike
2005-01-01 18:42 ` Marcel Holtmann
2005-01-03 7:15 ` mike
2005-01-03 9:51 ` Marcel Holtmann
2005-01-04 7:32 ` mike
2005-01-04 11:51 ` Marcel Holtmann
2005-01-05 8:15 ` mike
2005-01-05 11:39 ` 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='I9R8AC$D0025DCFFC50085F41F683811995C5C2@uol.com.br' \
--to=omap@uol.com.br \
--cc=bluez-devel@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