SRV_IODEAD

Determines whether an SRV_PROC input and output connection to a client is open.

Syntax

BOOL SRV_IODEAD ( SRV_PROC * srvproc );

where

srvproc
Is a pointer to the SRV_PROC structure that is the handle for a particular client connection (in this case, the handle that has the input and output connection to be tested).

Returns

TRUE if the client input and output connection's SRV_PROC structure is still open; otherwise, FALSE.

Remarks

This function is useful in error handling situations when you need to determine whether you can send an error message to a client.

In an SRV_DISCONNECT handler, SRV_IODEAD always returns TRUE.

See Also

This entry For information about
srv_sendmsg Sending a row to the client