async accept in handle_info?

Jimmy Olgeni olgeni@REDACTED
Wed Jul 21 21:48:25 CEST 2004


On Fri, 16 Jul 2004, Martin J. Logan wrote:

> (listener) ----spawn acceptor --> (acceptor) <upon accepting tell the
> listening to spawn a new acceptor>

That's right. I made the gen_server respawn the acceptor process on 
handle_info ({ 'EXIT'[...]) for the stored acceptor Pid, so it will 
not forget to respawn :-)

-- 
jimmy



More information about the erlang-questions mailing list