Re: ktcpsockettest again

2013-02-10 Thread Andreas Hartmetz
On Saturday 19 January 2013 12:21:57 David Faure wrote: > Hi Andreas, > > Can you shed some light on the intent of this famous test? > > s->write(HTTPREQUEST); > s->waitForReadyRead(); > s->close(); > //What happens is that during waitForReadyRead() the write buffer is > written o

Re: ktcpsockettest again

2013-01-23 Thread Andreas Hartmetz
On Saturday 19 January 2013 12:21:57 David Faure wrote: > Hi Andreas, > > Can you shed some light on the intent of this famous test? > > s->write(HTTPREQUEST); > s->waitForReadyRead(); > s->close(); > //What happens is that during waitForReadyRead() the write buffer is > written o

ktcpsockettest again

2013-01-19 Thread David Faure
Hi Andreas, Can you shed some light on the intent of this famous test? s->write(HTTPREQUEST); s->waitForReadyRead(); s->close(); //What happens is that during waitForReadyRead() the write buffer is written out //completely so that the socket can shut down without having to wa