joan wrote: ↑
Thu Sep 06, 2018 1:25 pm
Do you know what the size defaults to on Linux? I always assumed it was a 16k bytes buffer but that may just be a faulty memory.
I am checking the available bytes in buffer using:
ioctl(hCom, FIONREAD, &avaialble_bytes);
It never exceeds 4095, I understood it is 4095 bytes.