[Date Prev][Date Next] [Chronological] [Thread] [Top]

setting up a Sockbuf

Title: setting up a Sockbuf

        I have a buffer that contains a message from a client and would like to be able to use the ber_get_next routine on the buffer. The ber_get_next routine requires a Sockbuf but I am not sure how to setup the Sockbuf so that it reads from the buffer rather then a socket. Can anyone tell me how to either set the Sockbuf such that ber_get_next will read from the buffer or parse the buffer using the ber* calls.

Steve Ingersoll