Yep, after taking the second glance at it, it looks like the message sent event should occur every time the write occurs later on in the method.
I just took a glance quick, and it looks like they tag each of their releases, so you should be able to checkout the 2.0.0-M4 tagged version and get a suitable codebase to try from. It looks like that code hasn't changed between M4 and now: http://svn.apache.org/viewvc/mina/tags/2.0.0-M4/transport-serial/src/main/java/org/apache/mina/transport/serial/SerialSessionImpl.java?revision=724773 Christopher >>> Hmmmm, I see the code in question, but I'm not sure I can test it. I've >>> got an old svn checkout, that I thought was M4-ish in timeframe. But when >>> I build it it's calling itself RC2. >>> I doubt my application will link to RC2, we've been using M4; tried M5 but >>> it caused so many problems that we dropped back to M4 and decided to wait >>> for a real release before updating again. >>> >>> In looking at the code I'm thinking it's not the conditional, so much as >>> the need to fire the message sent event on every write? >>> boB
