5.3.1. Selecting the network protocol

The client-side and the server-side connections can use different networking protocols if needed. The protocol attribute of the chainer classes determines the network protocol used in the server-side connection. By default, Zorp uses the same protocol in both connections. The following options are available:

NameDescription
ZD_PROTO_AUTOUse the protocol that is used on the client side.
ZD_PROTO_TCPUse the TCP protocol on the server side.
ZD_PROTO_UDPUse the UDP protocol on the server side.

Table 5.18.  The network protocol used in the server-side connection