Polaris_Work() now returns POLARIS_TIMED_OUT on a socket read timeout, and POLARIS_CONNECTION_CLOSED when the connection is terminated either remotely or via Polaris_Disconnect(). Previously, it returned 0 for both conditions. It should no longer return 0 under any circumstances.
Polaris_Work()
now returnsPOLARIS_TIMED_OUT
on a socket read timeout, andPOLARIS_CONNECTION_CLOSED
when the connection is terminated either remotely or viaPolaris_Disconnect()
. Previously, it returned 0 for both conditions. It should no longer return 0 under any circumstances.