beepcore-c and bpc_send()

"Des Smith" <[email protected]> Thu, 1 Aug 2002 17:00:02 +0100
Newsgroups gmane.network.beep.beepcore.c.general
Message-ID <000001c23974$7eb9ca90$b80112ac@DESSMITH>
1. 
 
RFC 3080 describes the format of the Error Message . It has and error
code field, where certain error codes are described in section 8 of the
RFC3080.
 
How is the error code sent when using the bpc_send() function from the
beepcore-c libraries. The parameters to bpc_send() do not include any
code field. What Im looking for is the C equivalent to the Java
Message.sendErr(int code, ……) method.
Must the buffer sent in an error message using bpc_send() be constructed
in some ‘special’ way to include the error code?
 
2. In documentation describing BEEP it refers to it as an asynchronous
protocol. In what sense is it asynchronous? 
 
Thanks.