From: Nikolaj F. <nf...@cd...> - 2008-12-08 12:25:59
|
Hi, I have come across what seems to be a typo in the CTB svn trunk. 216 // look out! 217 // MIN = 1 means, in TIME (1/10 secs) defined timeout 218 // will be started AFTER receiving the first byte 219 // so we must set MIN = 0. (timeout starts immediately, abort 220 // also without readed byte) 221 t.c_cc[VMIN] = 0; 222 // timeout in 1/10 secs 223 // no timeout for non blocked transfer 224 t.c_cc[VMIN] = 0; It seems VMIN is written to twice, when in fact one of them should be VTIME. Cheers, Nikolaj Fogh |