Em sáb 19 abr 2014, às 10:42:27, Denis Shienkov escreveu:
> But still I didn't receive the concrete response: as to us to be?
> 
> In a buffer mode is to use the "deferred" writing or the "immediately" 
> writing?

You choose.

If you choose to write immediately in writeData(), justify.

Otherwise, follow existing practice. The following classes always buffer:
 - QProcess
 - QLocalSocket
 - QAbstractSocket
 - QSslSocket

Similarly, none of the classes above and neither QNetworkReply actually read 
from the device in readData(). They only read from the buffer.

I haven't looked at what QWebSocket does.
-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center

_______________________________________________
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development

Reply via email to