Constant scaproust::proto::SUB [] [src]

pub const SUB: u16 = 2 * 16 + 1

Publish/subscribe protocol

Receives messages from the publisher. Only messages that the socket is subscribed to are received. When the socket is created there are no subscriptions and thus no messages will be received. Send operation is not defined on this socket.