Chapter 22. The refdb client/server communication protocol
Prev | Part V. Programmer's manual | Next

## Chapter 22. The refdb client/server communication protocol

This chapter describes the communication protocol that the refdb clients and server use to talk to each other. Knowledge of this protocol is useful for programmers who want to write custom refdb clients. The protocol is versioned in order to allow clients and servers to negotiate whether they can fulfil each other's expectations. The protocol described in this document is version 5.

### Tip

The refdb project provides a Perl client module in addition to the C clients shipped with the refdb package proper. Due to the simplicity of the Perl language, this module is a good resource for programmers who want to implement clients in other programming languages.

## Prerequisites

Custom clients or client libraries can be implemented in any programming language that can create a Unix socket connection to the server and send/receive byte sequences through the socket. As the transferred data are essentially plain text, the endianness of the computer as well as the internal representation of data types in the particular programming language are irrelevant.

Prev | Up | Next
Processing expectations for the refdb DocBook bibliography output | Home | Basic principles