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 [email protected]
Please read the FAQ at http://kernelnewbies.org/FAQ

Reply via email to