I've written a big program which uses multiple serial ports and udp & tcp sockets. Everything works functionally as expected, but the serial port writes block until the data has been sent (reading is fine as I check the number of bytes available before trying to read). I thought the serial port write was supposed to be buffered by the OS!
I'm using an embedded linux machine, and a win32 machine, which both exhibit the same problem. I have to get the writes to be faster (i.e. non-blocking) for linux. Does anyone know how to configure the ports, or something to achieve this??