Now I find this curious, and I've yet to explore a fix as I just found it. If my IMC server reboots while my MUD is sleeping, then the MUD locks up when it awakens. Now, I'm sure this is because the MUD does not know it isn't connected and tries to talk to the server, the question is how best to handle it. I'm thinking that maybe when the server kicks this back to the client (on client awakening) it should tell the client to restart the connection. Because when MUD wakes up, the server generates a login timeout and disconnects. To me that should tell the client to reinitialize the connection.
Anyways, just thought I'd post this and see what you guys have to say, for now I'm off to take care of business. See ya later.
Have you tried running gdb to see what it is doing?
Not as yet, I will when I start working that particular line. For now, it works, as long as I don't reboot server while a client is sleeping. It isn't all that high on my priority list. And since I'm sure its related, MUD crashes on startup if it cannot connect to the server too. But again, not real high pri.
If my IMC server reboots while my MUD is sleeping, then the MUD
locks up when it awakens. Now, I'm sure this is because the MUD
does not know it isn't connected and tries to talk to the server,
the question is how best to handle it. I'm thinking that maybe when
the server kicks this back to the client (on client awakening) it
should tell the client to restart the connection. Because when MUD wakes up,
the server generates a login timeout and disconnects. To me that
should tell the client to reinitialize the connection.
Anyways, just thought I'd post this and see what you guys have to say,
for now I'm off to take care of business. See ya later.