Bluetooth Socket query

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,
Will the 'close' function call on a socket will wait for the
transmission of all pending buffers to the remote end?.  I'm using a
Bluetooth RFCOMM socket for communicating with another device, what
I've observed is, at times, the entire data the application has queued
for transmission is not reaching the remote end if I invoke the
'close' function call immediately after invoking the 'send' function
call. If I wait for sometime before invoking the close function, the
remote end receives the data fully.  I haven't observed such issues
with TCP sockets, this happens only with Bluetooth - RFCOMM sockets.

Am I missing something?


-- 
Thanks
Sudheer

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux