A few questions about QWebsockets and packet order.
-
Hi, sorry I don't have much experience with websockets and I have a few questions.
Are Qt's websockets FIFO or LIFO (do they receive the first packets sent out first or the last packets sent out)?
Does this hold true for all websockets, as in those that are not part of Qt?
If not, is the packet order decided by the server or listener? -
Don't understand this question - what do you mean with FIFO/LIFO here? The order of the packets which were sent or received?
-
Don't understand this question - what do you mean with FIFO/LIFO here? The order of the packets which were sent or received?
Sorry if that was unclear. You're right, I meant does the WebSocket receive the first packets sent out first or the last packets sent out?
-
I don't think this order is defined at all but when is 'last packet' really the last one? After 1second? 10? 100? It shouldn't matter for the implementation, but since it's tcp/http the order should be fifo.
-
I don't think this order is defined at all but when is 'last packet' really the last one? After 1second? 10? 100? It shouldn't matter for the implementation, but since it's tcp/http the order should be fifo.
Thanks, that clears things up.