next up previous contents index
Next: bnet_strerror Up: TCP/IP Network Protocol Previous: bnet_recv   Contents   Index


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:

  1. BNET_EOF - deprecated use BNET_EOD
  2. BNET_EOD - End of data stream, new data may follow
  3. BNET_EOD_POLL - End of data and poll all in one
  4. BNET_STATUS - Request full status
  5. BNET_TERMINATE - Conversation terminated, doing close()
  6. BNET_POLL - Poll request, I'm hanging on a read
  7. BNET_HEARTBEAT - Heartbeat Response requested
  8. BNET_HB_RESPONSE - Only response permitted to HB
  9. BNET_PROMPT - Prompt for UA



Eric 2011-08-08