Parent: df71eaca9a4d9390854da1087b05b01ba5b7119e
Author: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2013-12-10 12:33:43
Tree: 929c9ef76c1854fe26bfcc322421ce3cf84536c9
android/socket: Use getsockopt to set buffer Use the RFCOMM socket buffer size to allocate the intermediate buffer used for copying data between sockets to minimize context switches.
Diffstat
| M | android/socket.c | | | 76 | ++++++++++++++++++++++++++++++++++++++++- - - - - - - - - - - - - - - - - - |
1 files changed, 58 insertions(+), 18 deletions(-)