* Elvis Pfützenreuter <epx@xxxxxxxxxxx> [2010-05-07 16:55:13 -0300]: > > > > Also I still have to check the case when the remote side requests a > > disconnect. I'm adding these stuff to my todo list an I'll work on it > > soon. > > I imagined the case when send(msg) returns, the msg is still in output buffer and then the connection drops due e.g. to faint signal (not voluntary close). (I understand ERTM guarantees atomic delivery of message, but I don't think it blocks send() until the message is safely at the other side.) The sock stays connected, if such error happen it will be disconnected and error will be reported. Also blocking on sending doesn't guarantee if you data will be delivered. -- Gustavo F. Padovan http://padovan.org -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html