zeromq / libzmq

ZeroMQ core engine in C++, implements ZMTP/3.1
https://www.zeromq.org
Mozilla Public License 2.0
9.62k stars 2.35k forks source link

Add NORM Transport configuration sockopts #4541

Closed weston-nrl closed 1 year ago

weston-nrl commented 1 year ago

NORM transport is currently hard-coded to particular NORM settings and modes. This pull request adds some NORM configuration parameters as socket options to allow for more flexibility in configuring NORM transport for different use cases. Default values and modes remain the same. The pull also makes use of existing socket options ZMQ_RATE (for NORM fixed-rate operation, not used in congestion control modes) and ZMQ_TOS.

weston-nrl commented 1 year ago

Updated as requested to move NORM sockopts over to DRAFT API.

bluca commented 1 year ago

see https://github.com/zeromq/libzmq/actions/runs/4756140185/jobs/8451271633?pr=4541 for code formatting changes

bluca commented 1 year ago

still unhappy https://github.com/zeromq/libzmq/actions/runs/4756551611/jobs/8452255627?pr=4541