bnet_sig
To send a “signal” from one daemon to another, one uses the subroutine:
int bnet_sig(BSOCK *sock, SIGNAL) where SIGNAL is one of the following:
BNET_EOF - deprecated use BNET_EOD
BNET_EOD - End of data stream, new data may follow
BNET_EOD_POLL - End of data and poll all in one
BNET_STATUS - Request full status
BNET_TERMINATE - Conversation terminated, doing close()
BNET_POLL - Poll request, I’m hanging on a read
BNET_HEARTBEAT - Heartbeat Response requested
BNET_HB_RESPONSE - Only response permitted to HB
BNET_PROMPT - Prompt for UA
See also
Possible Next Steps
Go to Smart Memory Allocation.
Go back to TCP/IP Network Protocol.
Go back to Developer Guide.