mina-ftpserver-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aidan Diffey <aidan.dif...@gmail.com>
Subject Re: Stopping / Starting listeners
Date Tue, 14 Sep 2010 14:05:06 GMT
NIOListener:

acceptor.setReuseAddress(true);



On Tue, Sep 14, 2010 at 3:02 PM, Sai Pullabhotla <
sai.pullabhotla@jmethods.com> wrote:

> In theory, starting the same listener more than once should result in
> a BindException. However, I believe we set the "reuse_address"
> attribute to true, which could be doing weird things? Can some one
> verify?
>
> On Tue, Sep 14, 2010 at 8:58 AM, Aidan Diffey <aidan.diffey@gmail.com>
> wrote:
> > Cheers.
> >
> > Do you think that version 1.0.5 should have this check in
> FtpServer.start()
> > so that it doesn't start the same listener twice?
> >
> > Cheers
> >
> > On Tue, Sep 14, 2010 at 2:26 PM, Niklas Gustavsson <niklas@protocol7.com
> >wrote:
> >
> >> On Tue, Sep 14, 2010 at 3:22 PM, Aidan Diffey <aidan.diffey@gmail.com>
> >> wrote:
> >> > Is there any way that you can tell if a listener is started or not?
> >>
> >> !Listener.isStopped()
> >>
> >> /niklas
> >>
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message