On May 18, 2006, at 4:45 PM, Matt Keane wrote:
I've created a simple test harness for a TCP Client / Server application.
If run the ConnectionTest() first time, its Ok. Then, I run it again
multiple times, a socket already bound exception occurs (I think at
"future.getSession()" )
For some reason, the connector seems to still think its bound to a port.
See code and exception below
I'm using MINA 0.9.3.

I've seen this error before, when having TCP client and server both on localhost, and slamming it with short-lived connections *very* quickly. MINA is already configured to re-used addresses by default, so I'm not suprised that didn't change things much. Honestly, I'm unsure of the answer, as this is something I've only witnessed in local testing when things haven't been working right.
-pete

--
[EMAIL PROTECTED] - http://fotap.org/~osi


Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to