<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> <!--Converted with LaTeX2HTML 2008 (1.71) original version by: Nikos Drakos, CBLU, University of Leeds * revised and updated by: Marcus Hennecke, Ross Moore, Herb Swan * with significant contributions from: Jens Lippmann, Marek Rouchal, Martin Wilck and others --> <HTML> <HEAD> <TITLE>bnet_sig</TITLE> <META NAME="description" CONTENT="bnet_sig"> <META NAME="keywords" CONTENT="developers"> <META NAME="resource-type" CONTENT="document"> <META NAME="distribution" CONTENT="global"> <META NAME="Generator" CONTENT="LaTeX2HTML v2008"> <META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css"> <LINK REL="STYLESHEET" HREF="developers.css"> <LINK REL="next" HREF="bnet_strerror.html"> <LINK REL="previous" HREF="bnet_recv.html"> <LINK REL="up" HREF="TCP_IP_Network_Protocol.html"> <LINK REL="next" HREF="bnet_strerror.html"> </HEAD> <BODY > <!--Navigation Panel--> <A NAME="tex2html1741" HREF="bnet_strerror.html"> <IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next.png"></A> <A NAME="tex2html1735" HREF="TCP_IP_Network_Protocol.html"> <IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up.png"></A> <A NAME="tex2html1729" HREF="bnet_recv.html"> <IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="prev.png"></A> <A NAME="tex2html1737" HREF="Contents.html"> <IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="contents.png"></A> <A NAME="tex2html1739" HREF="GNU_Free_Documentation_Lice.html"> <IMG WIDTH="43" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="index" SRC="index.png"></A> <BR> <B> Next:</B> <A NAME="tex2html1742" HREF="bnet_strerror.html">bnet_strerror</A> <B> Up:</B> <A NAME="tex2html1736" HREF="TCP_IP_Network_Protocol.html">TCP/IP Network Protocol</A> <B> Previous:</B> <A NAME="tex2html1730" HREF="bnet_recv.html">bnet_recv</A> <B> <A NAME="tex2html1738" HREF="Contents.html">Contents</A></B> <B> <A NAME="tex2html1740" HREF="GNU_Free_Documentation_Lice.html">Index</A></B> <BR> <BR> <!--End of Navigation Panel--> <H1><A NAME="SECTION001880000000000000000"></A> <A NAME="6266"></A> <BR> bnet_sig </H1> <P> To send a ``signal'' from one daemon to another, one uses the subroutine: <P> int bnet_sig(BSOCK *sock, SIGNAL) where SIGNAL is one of the following: <P> <OL> <LI>BNET_EOF - deprecated use BNET_EOD </LI> <LI>BNET_EOD - End of data stream, new data may follow </LI> <LI>BNET_EOD_POLL - End of data and poll all in one </LI> <LI>BNET_STATUS - Request full status </LI> <LI>BNET_TERMINATE - Conversation terminated, doing close() </LI> <LI>BNET_POLL - Poll request, I'm hanging on a read </LI> <LI>BNET_HEARTBEAT - Heartbeat Response requested </LI> <LI>BNET_HB_RESPONSE - Only response permitted to HB </LI> <LI>BNET_PROMPT - Prompt for UA </LI> </OL> <P> <BR><HR> <ADDRESS> 2010-06-14 </ADDRESS> </BODY> </HTML>