tags:

views:

679

answers:

1
A: 

Perhaps the streams are blocking.

Java nio has channels that do not block. Try using one of those.

Here's a sample of reading a file with nio. I'm not sure if the same applies for you or not.

I hope it helps.

OscarRyz
i'm writing data to serailport outputputstream.is nio applies for it?