2006-06-09 12:46:02

by Sowmya Gattupalli

[permalink] [raw]
Subject: [Bluez-devel] Limit on the rfcomm socket buffer

Hi all,
I think that the rfcomm sockets can't take as large as 1024 bytes unlike
TCP/IP (it gets stuck and I get this "Resource temporarily unavailbale"
error incase I wanna reuse it) .... I know its the SOCKET_STREAM thing , but
I want to know is there any limit on the socket buffer???


regards
Soumya


Attachments:
(No filename) (305.00 B)
(No filename) (335.00 B)
(No filename) (0.00 B)
(No filename) (164.00 B)
Download all attachments

2006-06-17 11:09:02

by Marcel Holtmann

[permalink] [raw]
Subject: Re: [Bluez-devel] Limit on the rfcomm socket buffer

Hi Sowmaya,

> I think that the rfcomm sockets can't take as large as 1024 bytes
> unlike TCP/IP (it gets stuck and I get this "Resource temporarily
> unavailbale" error incase I wanna reuse it) .... I know its the
> SOCKET_STREAM thing , but I want to know is there any limit on the
> socket buffer???

the kernel socket buffers limits it, but this should be something around
32k or so.

If you can reproduce an error condition, please send in a sample program
and the output of "hcidump -X -V".

Regards

Marcel




_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel