• Post Reply Bookmark Topic Watch Topic
  • New Topic

Javax.Comm strategies

 
Thomas Mcfarrow
Ranch Hand
Posts: 137
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I have a swing application that uses Javax.comm to read and write to serial ports often.

Is it better to keep an output / input stream open or close them on each call.

I had a bad experience with AudioInputStream while opening and closing on each call. It seemed to have a memory leak that wasn't related to my code. I don't want a response on the AudioInputStream problem, just the javax.comm. Thanks.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!