On Mon, 30 Aug 1999, Dodge Ram wrote:

> Hi,
> 
>       Have a question on whether it is possible to share
> file descriptors between two processes.
> 
>       The purpose is to have a stanby process take over when
> the primary process fails. The primary process creates/deletes
> socket connections at run time. Forking does not scale well when
> the rate of connection creates/deletes in high.
> 
>       If there is an alternative approach to do this kindly let
> me know.
> 
>       Any helpful pointers are greatly appreciated.
two options I can think of:

1) file descriptor passing (described in Unix Network Programming Vol I)
2) shared address fork (should be on http://lt.tar.com)

good luck,
-Alfred



To Unsubscribe: send mail to majord...@freebsd.org
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to