Hi,

in [GSFileHandle read:length:] we use a read() system call. If I understood it correctly read() blocks until the requested amount of data is read or special circumstances raise (e.g. EOF). On a steady serial connection there's no such thing as EOT. Therefore [NSFileHandle availableData], [NSFileHandle readInBackgroundAndNotify],... block until READ_SIZE bytes are read. I've seen this on Windows XP, Solaris 10 and I belief on debain sarge, too.

Fortunately we've readDataInBackgroundAndNotifyLength:    :-)

I'm not on the list.

regards
Marc



_______________________________________________
Bug-gnustep mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-gnustep

Reply via email to