Hi,

FTR, dev list is not the right place for such mail. Please use the users
mailing list.

Have you disposed the acceptor before unbinding it ? If there is any
pending connection, it's likely that the socket will be persisted even
after an Unbind, for the socket timeout (which might be quite long).

Always close correctly all the sessions programmatically before
unbinding. Dispose do that.


Le 1/27/14 10:23 AM, Hardik Kubavat a écrit :
> Hi,
>
> I am unbind the port from IoAcceptor using
>
> ==>    acceptor.unbind(new InetSocketAddress(portNo));
>
> So when we try to bind this same port on acceptor it's throws
> Exception with Following message
> Address already in use.
>
> As per my requirement I need to bind and unbind port dynamically. And
> It is possible that same port we need to unbind and than bind again.


-- 
Regards,
Cordialement,
Emmanuel Lécharny
www.iktek.com 

Reply via email to