Thread: sockets
View Single Post

  #3 (permalink)  
Old 01-30-2004
Owen Jacobson
 
Posts: n/a
Default Re: sockets

On Fri, 30 Jan 2004 14:00:11 +0100, Andreas Røsdal wrote:

> hi,
> I have a question about C sockets. Is this possible:
> 1. start application, and establish socket connection.
> 2. quit application, without closing connections (!!)
> 3. restart application, and continue using old connections?
>
> Andreas R.


Not as described. You might consider having the initial startup spawn a
second process that will persist (see fork(2), various others) to maintain
the connections, that your application connects and disconnects from.

--
Some say the Wired doesn't have political borders like the real world,
but there are far too many nonsense-spouting anarchists or idiots who
think that pranks are a revolution.

Reply With Quote