2006-05-11 03:47:05

by Sowmya Gattupalli

[permalink] [raw]
Subject: [Bluez-users] blocking or non-blocking?

Hi all,
Are rfcomm sockets "blocking" sockets by default???


regards
Soumya


Attachments:
(No filename) (77.00 B)
(No filename) (106.00 B)
Download all attachments

2006-05-23 07:25:29

by Marcel Holtmann

[permalink] [raw]
Subject: Re: [Bluez-users] blocking or non-blocking?

Hi Sowmya,

> How do I make it non-blocking Marcel???

check the manpage for fcntl() and then look for F_SETFL.

Regards

Marcel




-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

2006-05-23 07:20:29

by Sowmya Gattupalli

[permalink] [raw]
Subject: Re: [Bluez-users] blocking or non-blocking?

How do I make it non-blocking Marcel???

On 5/16/06, Marcel Holtmann <[email protected]> wrote:
>
> Hi Sowmya,
>
> > Are rfcomm sockets "blocking" sockets by default???
>
> they are blocking by default (like all other sockets).
>
> Regards
>
> Marcel
>
>
>
>
> -------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job
> easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> Bluez-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/bluez-users
>


Attachments:
(No filename) (803.00 B)
(No filename) (1.33 kB)
Download all attachments

2006-05-16 14:23:54

by Marcel Holtmann

[permalink] [raw]
Subject: Re: [Bluez-users] blocking or non-blocking?

Hi Sowmya,

> Are rfcomm sockets "blocking" sockets by default???

they are blocking by default (like all other sockets).

Regards

Marcel




-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users