[Spread-users] SP_poll() result when spread daemon is dead

Colin Meyer cmeyer at helvella.org
Thu Sep 20 16:24:20 EDT 2007


If the spread daemon that I'm talking to were to unexpectadly die,
should SP_poll() return ILLEGAL_SESSION or some other error?

When testing, I manually kill spread, but the polling process just
receives 0 from SP_poll().

I'd like to know when I'm not going to receive anything. I'd like to
avoid sending heartbeat messages, just to detect if I'm still talking to
spread. What is the normal way to do this?


More information about the Spread-users mailing list