Answer the question
In order to leave comments, you need to log in
How to work with out-of-band data?
for learning purposes, I decided to tinker with out-of-band messages and immediately stumbled upon a couple of problems. Firstly, you can send only one byte of urgent data (as far as I understand, this is a Linux kernel bug, or maybe not). Secondly, if urgent data is sent often enough, it may not have time to be processed and get mixed into the general data stream. Here again, only peek by one byte should save, but this is very similar to a castle. And here is a completely different problem, if urgent data comes from another stream, then nothing comes to the client at all.
Maybe someone can suggest something on this topic, because all I understood from smoking manuals is that OOB is generally not very loved and not used much, because the thing is not reliable.
Answer the question
In order to leave comments, you need to log in
I have not worked with OOB for a long time, but the behavior you theoretically describe should only be observed when the SO_OOBINLINE option is set, with it OOB data enters the general stream.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question