On Sun, Sep 28, 2008 at 12:11 PM, andrew clarke <[EMAIL PROTECTED]> wrote: > On Sun 2008-09-28 10:52:08 UTC+0100, Paul Herring ([EMAIL PROTECTED]) wrote: > >> > I'm building a game, (a server, and then clients connect). >> > I'm having a bit of trouble though. I don't want to have to have to >> > reboot the mud every time I make a change. >> > I was trying to figure out if there would be a way to hold the >> > connected sockets somehow, while the program restarted, then restore >> > the sockets. >> > Ideas would be awesome. >> >> You can't do, directly, what you want due to the nature of network >> connections, however you could overcomplicate it by having a separate >> program to communicate via the sockets then have your server talk to >> that one. > > I wonder how Irssi (an IRC client) does it? You can issue the > /upgrade command from within the program and it will load the new > binary without dropping the TCP connections to the IRC server.
Probably something along the lines of http://www.tangentsoft.net/wskfaq/articles/passing-sockets.html -- PJH http://shabbleland.myminicity.com/
