I have a situation where I bring up an FTP server to accept a one time put and 
mput. After complete the FTP server will stop and the overall application will 
continue forward.

Thanks
E



----- Original Message ----
From: Niklas Gustavsson <[email protected]>
To: [email protected]
Sent: Wednesday, March 11, 2009 7:56:20 AM
Subject: Re: Server execution

On Wed, Mar 11, 2009 at 1:04 PM, Edward Scanzano <[email protected]> wrote:
> When I execute server.start() how can I make my program pause at the next 
> like until the server has been stopped? I have noticed that start() is 
> non-blocking.

Let me turn the question around a little bit. When do you want to stop
the server? You would likely wait for something to happen (someone
pressing Ctrl+C, something calling a destoy/close/dispose method). The
answer to your question is probably dependent on this :-)

/niklas

Reply via email to