laag-libzmq 4.2.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (792) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +57 -0
  3. data/LICENSE.txt +181 -0
  4. data/README.org +34 -0
  5. data/ext/laag/libzmq/extconf.rb +22 -0
  6. data/laag-libzmq.gemspec +21 -0
  7. data/lib/laag/libzmq.rb +31 -0
  8. data/vendor/github.com/zeromq/libzmq/.github/PULL_REQUEST_TEMPLATE.md +28 -0
  9. data/vendor/github.com/zeromq/libzmq/.github/issue_template.md +22 -0
  10. data/vendor/github.com/zeromq/libzmq/.gitignore +180 -0
  11. data/vendor/github.com/zeromq/libzmq/.hgeol +2 -0
  12. data/vendor/github.com/zeromq/libzmq/.mailmap +81 -0
  13. data/vendor/github.com/zeromq/libzmq/.travis.yml +115 -0
  14. data/vendor/github.com/zeromq/libzmq/AUTHORS +151 -0
  15. data/vendor/github.com/zeromq/libzmq/CMakeLists.txt +1104 -0
  16. data/vendor/github.com/zeromq/libzmq/COPYING +674 -0
  17. data/vendor/github.com/zeromq/libzmq/COPYING.LESSER +181 -0
  18. data/vendor/github.com/zeromq/libzmq/Dockerfile +11 -0
  19. data/vendor/github.com/zeromq/libzmq/Doxygen.cfg +2320 -0
  20. data/vendor/github.com/zeromq/libzmq/FindSodium.cmake +40 -0
  21. data/vendor/github.com/zeromq/libzmq/INSTALL +311 -0
  22. data/vendor/github.com/zeromq/libzmq/Jenkinsfile +369 -0
  23. data/vendor/github.com/zeromq/libzmq/Makefile.am +908 -0
  24. data/vendor/github.com/zeromq/libzmq/NEWS +1582 -0
  25. data/vendor/github.com/zeromq/libzmq/README.cygwin.md +15 -0
  26. data/vendor/github.com/zeromq/libzmq/README.doxygen.md +48 -0
  27. data/vendor/github.com/zeromq/libzmq/README.md +102 -0
  28. data/vendor/github.com/zeromq/libzmq/RELICENSE/AndreLouisCaron.md +15 -0
  29. data/vendor/github.com/zeromq/libzmq/RELICENSE/Asmod4n.md +13 -0
  30. data/vendor/github.com/zeromq/libzmq/RELICENSE/BerndPrager.md +13 -0
  31. data/vendor/github.com/zeromq/libzmq/RELICENSE/Bklyn.md +15 -0
  32. data/vendor/github.com/zeromq/libzmq/RELICENSE/BrianBuchanan.md +15 -0
  33. data/vendor/github.com/zeromq/libzmq/RELICENSE/ChuckRemes.md +15 -0
  34. data/vendor/github.com/zeromq/libzmq/RELICENSE/FrancoFichtner.md +15 -0
  35. data/vendor/github.com/zeromq/libzmq/RELICENSE/GavinMcNiff.md +15 -0
  36. data/vendor/github.com/zeromq/libzmq/RELICENSE/GhislainPutois.md +15 -0
  37. data/vendor/github.com/zeromq/libzmq/RELICENSE/GiuseppeCorbelli.md +15 -0
  38. data/vendor/github.com/zeromq/libzmq/RELICENSE/HaraldAchitz.md +17 -0
  39. data/vendor/github.com/zeromq/libzmq/RELICENSE/Hugne.md +17 -0
  40. data/vendor/github.com/zeromq/libzmq/RELICENSE/JimHague.md +16 -0
  41. data/vendor/github.com/zeromq/libzmq/RELICENSE/JohanMabille.md +16 -0
  42. data/vendor/github.com/zeromq/libzmq/RELICENSE/LeonardMichelet +14 -0
  43. data/vendor/github.com/zeromq/libzmq/RELICENSE/LeonardoConsoni.md +15 -0
  44. data/vendor/github.com/zeromq/libzmq/RELICENSE/LionelOrry.md +15 -0
  45. data/vendor/github.com/zeromq/libzmq/RELICENSE/OsirisPedroso.md +15 -0
  46. data/vendor/github.com/zeromq/libzmq/RELICENSE/README.md +23 -0
  47. data/vendor/github.com/zeromq/libzmq/RELICENSE/RobGagnon.md +13 -0
  48. data/vendor/github.com/zeromq/libzmq/RELICENSE/SebastienRombauts.md +15 -0
  49. data/vendor/github.com/zeromq/libzmq/RELICENSE/StoianIvanov.md +15 -0
  50. data/vendor/github.com/zeromq/libzmq/RELICENSE/SylvainCorlay.md +16 -0
  51. data/vendor/github.com/zeromq/libzmq/RELICENSE/TimotheeBesset.md +15 -0
  52. data/vendor/github.com/zeromq/libzmq/RELICENSE/VincentTellier.md +15 -0
  53. data/vendor/github.com/zeromq/libzmq/RELICENSE/VolodymyrKorniichuk.md +15 -0
  54. data/vendor/github.com/zeromq/libzmq/RELICENSE/abbradar.md +16 -0
  55. data/vendor/github.com/zeromq/libzmq/RELICENSE/agronholm.md +15 -0
  56. data/vendor/github.com/zeromq/libzmq/RELICENSE/amuraru.md +15 -0
  57. data/vendor/github.com/zeromq/libzmq/RELICENSE/arsenm.md +15 -0
  58. data/vendor/github.com/zeromq/libzmq/RELICENSE/aseering.md +15 -0
  59. data/vendor/github.com/zeromq/libzmq/RELICENSE/bjorntopel.md +16 -0
  60. data/vendor/github.com/zeromq/libzmq/RELICENSE/bjovke.md +16 -0
  61. data/vendor/github.com/zeromq/libzmq/RELICENSE/brocade_communications_systems.md +15 -0
  62. data/vendor/github.com/zeromq/libzmq/RELICENSE/brunobodin.md +13 -0
  63. data/vendor/github.com/zeromq/libzmq/RELICENSE/c-rack.md +15 -0
  64. data/vendor/github.com/zeromq/libzmq/RELICENSE/camachat.md +15 -0
  65. data/vendor/github.com/zeromq/libzmq/RELICENSE/cdolan.md +15 -0
  66. data/vendor/github.com/zeromq/libzmq/RELICENSE/chrisstaite.md +14 -0
  67. data/vendor/github.com/zeromq/libzmq/RELICENSE/chugga_fan.md +15 -0
  68. data/vendor/github.com/zeromq/libzmq/RELICENSE/cjuniet.md +15 -0
  69. data/vendor/github.com/zeromq/libzmq/RELICENSE/ckamm.md +15 -0
  70. data/vendor/github.com/zeromq/libzmq/RELICENSE/clkao.md +15 -0
  71. data/vendor/github.com/zeromq/libzmq/RELICENSE/danielhtshih.md +15 -0
  72. data/vendor/github.com/zeromq/libzmq/RELICENSE/danriegsecker.md +16 -0
  73. data/vendor/github.com/zeromq/libzmq/RELICENSE/dfons.md +16 -0
  74. data/vendor/github.com/zeromq/libzmq/RELICENSE/djelenc.md +15 -0
  75. data/vendor/github.com/zeromq/libzmq/RELICENSE/drodri.md +15 -0
  76. data/vendor/github.com/zeromq/libzmq/RELICENSE/eburkitt.md +15 -0
  77. data/vendor/github.com/zeromq/libzmq/RELICENSE/egomotion.md +16 -0
  78. data/vendor/github.com/zeromq/libzmq/RELICENSE/evoskuil.md +15 -0
  79. data/vendor/github.com/zeromq/libzmq/RELICENSE/febeling.md +16 -0
  80. data/vendor/github.com/zeromq/libzmq/RELICENSE/fidlej.md +15 -0
  81. data/vendor/github.com/zeromq/libzmq/RELICENSE/flub.md +14 -0
  82. data/vendor/github.com/zeromq/libzmq/RELICENSE/gena-moscow.md +15 -0
  83. data/vendor/github.com/zeromq/libzmq/RELICENSE/gonzus.md +15 -0
  84. data/vendor/github.com/zeromq/libzmq/RELICENSE/goodfella_ltd.md +13 -0
  85. data/vendor/github.com/zeromq/libzmq/RELICENSE/google.md +13 -0
  86. data/vendor/github.com/zeromq/libzmq/RELICENSE/ianbarber.md +15 -0
  87. data/vendor/github.com/zeromq/libzmq/RELICENSE/imatix.md +23 -0
  88. data/vendor/github.com/zeromq/libzmq/RELICENSE/jakecobb.md +13 -0
  89. data/vendor/github.com/zeromq/libzmq/RELICENSE/jemc.md +15 -0
  90. data/vendor/github.com/zeromq/libzmq/RELICENSE/jimklimov.md +17 -0
  91. data/vendor/github.com/zeromq/libzmq/RELICENSE/jkryl.md +15 -0
  92. data/vendor/github.com/zeromq/libzmq/RELICENSE/johntconklin.md +15 -0
  93. data/vendor/github.com/zeromq/libzmq/RELICENSE/jruffin.md +14 -0
  94. data/vendor/github.com/zeromq/libzmq/RELICENSE/kentzo.md +15 -0
  95. data/vendor/github.com/zeromq/libzmq/RELICENSE/kevinsapper.md +13 -0
  96. data/vendor/github.com/zeromq/libzmq/RELICENSE/kobolog.md +12 -0
  97. data/vendor/github.com/zeromq/libzmq/RELICENSE/kurdybacha.md +15 -0
  98. data/vendor/github.com/zeromq/libzmq/RELICENSE/linville.md +15 -0
  99. data/vendor/github.com/zeromq/libzmq/RELICENSE/loachfish.md +15 -0
  100. data/vendor/github.com/zeromq/libzmq/RELICENSE/lodagro.md +15 -0
  101. data/vendor/github.com/zeromq/libzmq/RELICENSE/madebr.md +15 -0
  102. data/vendor/github.com/zeromq/libzmq/RELICENSE/mattconnolly.md +15 -0
  103. data/vendor/github.com/zeromq/libzmq/RELICENSE/mauri-melato.md +13 -0
  104. data/vendor/github.com/zeromq/libzmq/RELICENSE/mditzel.md +15 -0
  105. data/vendor/github.com/zeromq/libzmq/RELICENSE/meox.md +15 -0
  106. data/vendor/github.com/zeromq/libzmq/RELICENSE/michael-fox.md +16 -0
  107. data/vendor/github.com/zeromq/libzmq/RELICENSE/michicc.md +15 -0
  108. data/vendor/github.com/zeromq/libzmq/RELICENSE/minrk.md +15 -0
  109. data/vendor/github.com/zeromq/libzmq/RELICENSE/mipaaa.md +15 -0
  110. data/vendor/github.com/zeromq/libzmq/RELICENSE/mkluwe.md +15 -0
  111. data/vendor/github.com/zeromq/libzmq/RELICENSE/montoyaedu.md +15 -0
  112. data/vendor/github.com/zeromq/libzmq/RELICENSE/naos_ltd.md +19 -0
  113. data/vendor/github.com/zeromq/libzmq/RELICENSE/natano.md +15 -0
  114. data/vendor/github.com/zeromq/libzmq/RELICENSE/olafmandel.md +13 -0
  115. data/vendor/github.com/zeromq/libzmq/RELICENSE/pijyoi.md +13 -0
  116. data/vendor/github.com/zeromq/libzmq/RELICENSE/ptroja.md +14 -0
  117. data/vendor/github.com/zeromq/libzmq/RELICENSE/reunanen.md +15 -0
  118. data/vendor/github.com/zeromq/libzmq/RELICENSE/reza-ebrahimi.md +15 -0
  119. data/vendor/github.com/zeromq/libzmq/RELICENSE/rikvdh.md +15 -0
  120. data/vendor/github.com/zeromq/libzmq/RELICENSE/rlenferink.md +15 -0
  121. data/vendor/github.com/zeromq/libzmq/RELICENSE/roalz.md +13 -0
  122. data/vendor/github.com/zeromq/libzmq/RELICENSE/rodgert.md +17 -0
  123. data/vendor/github.com/zeromq/libzmq/RELICENSE/rotty.md +16 -0
  124. data/vendor/github.com/zeromq/libzmq/RELICENSE/sabae.md +15 -0
  125. data/vendor/github.com/zeromq/libzmq/RELICENSE/scemama.md +15 -0
  126. data/vendor/github.com/zeromq/libzmq/RELICENSE/sheremetyev.md +13 -0
  127. data/vendor/github.com/zeromq/libzmq/RELICENSE/shripchenko.md +15 -0
  128. data/vendor/github.com/zeromq/libzmq/RELICENSE/sigiesec.md +17 -0
  129. data/vendor/github.com/zeromq/libzmq/RELICENSE/soulik.md +15 -0
  130. data/vendor/github.com/zeromq/libzmq/RELICENSE/swansontec.md +15 -0
  131. data/vendor/github.com/zeromq/libzmq/RELICENSE/t-b.md +15 -0
  132. data/vendor/github.com/zeromq/libzmq/RELICENSE/tSed.md +15 -0
  133. data/vendor/github.com/zeromq/libzmq/RELICENSE/tabe.md +15 -0
  134. data/vendor/github.com/zeromq/libzmq/RELICENSE/tailhook.md +16 -0
  135. data/vendor/github.com/zeromq/libzmq/RELICENSE/taotetek.md +13 -0
  136. data/vendor/github.com/zeromq/libzmq/RELICENSE/templates/relicense-template-mplv2-any-osi.txt +15 -0
  137. data/vendor/github.com/zeromq/libzmq/RELICENSE/templates/relicense-template-mplv2-share-alike-osi.txt +15 -0
  138. data/vendor/github.com/zeromq/libzmq/RELICENSE/templates/relicense-template-mplv2.txt +13 -0
  139. data/vendor/github.com/zeromq/libzmq/RELICENSE/thompsa.md +15 -0
  140. data/vendor/github.com/zeromq/libzmq/RELICENSE/torehalvorsen.md +15 -0
  141. data/vendor/github.com/zeromq/libzmq/RELICENSE/twhittock.md +15 -0
  142. data/vendor/github.com/zeromq/libzmq/RELICENSE/ulikoehler.md +16 -0
  143. data/vendor/github.com/zeromq/libzmq/RELICENSE/vyskocilm.md +7 -0
  144. data/vendor/github.com/zeromq/libzmq/RELICENSE/willstrang.md +15 -0
  145. data/vendor/github.com/zeromq/libzmq/RELICENSE/xaqq.md +13 -0
  146. data/vendor/github.com/zeromq/libzmq/RELICENSE/yuvallanger.md +15 -0
  147. data/vendor/github.com/zeromq/libzmq/ZeroMQConfig.cmake.in +25 -0
  148. data/vendor/github.com/zeromq/libzmq/acinclude.m4 +1122 -0
  149. data/vendor/github.com/zeromq/libzmq/appveyor.yml +97 -0
  150. data/vendor/github.com/zeromq/libzmq/autogen.sh +49 -0
  151. data/vendor/github.com/zeromq/libzmq/branding.bmp +0 -0
  152. data/vendor/github.com/zeromq/libzmq/builds/Makefile.am +31 -0
  153. data/vendor/github.com/zeromq/libzmq/builds/README +4 -0
  154. data/vendor/github.com/zeromq/libzmq/builds/android/Dockerfile +22 -0
  155. data/vendor/github.com/zeromq/libzmq/builds/android/README.md +78 -0
  156. data/vendor/github.com/zeromq/libzmq/builds/android/android_build_helper.sh +316 -0
  157. data/vendor/github.com/zeromq/libzmq/builds/android/build.sh +70 -0
  158. data/vendor/github.com/zeromq/libzmq/builds/android/ci_build.sh +30 -0
  159. data/vendor/github.com/zeromq/libzmq/builds/cmake/Modules/FindAsciiDoc.cmake +26 -0
  160. data/vendor/github.com/zeromq/libzmq/builds/cmake/Modules/TestZMQVersion.cmake +8 -0
  161. data/vendor/github.com/zeromq/libzmq/builds/cmake/Modules/ZMQSourceRunChecks.cmake +301 -0
  162. data/vendor/github.com/zeromq/libzmq/builds/cmake/NSIS.template32.in +952 -0
  163. data/vendor/github.com/zeromq/libzmq/builds/cmake/NSIS.template64.in +960 -0
  164. data/vendor/github.com/zeromq/libzmq/builds/cmake/ci_build.sh +34 -0
  165. data/vendor/github.com/zeromq/libzmq/builds/cmake/platform.hpp.in +104 -0
  166. data/vendor/github.com/zeromq/libzmq/builds/coverage/ci_build.sh +32 -0
  167. data/vendor/github.com/zeromq/libzmq/builds/cygwin/Makefile.cygwin +48 -0
  168. data/vendor/github.com/zeromq/libzmq/builds/gyp/.gitignore +5 -0
  169. data/vendor/github.com/zeromq/libzmq/builds/gyp/build.bat +4 -0
  170. data/vendor/github.com/zeromq/libzmq/builds/gyp/platform.hpp +80 -0
  171. data/vendor/github.com/zeromq/libzmq/builds/gyp/project-tests.gsl +19 -0
  172. data/vendor/github.com/zeromq/libzmq/builds/gyp/project-tests.gypi +895 -0
  173. data/vendor/github.com/zeromq/libzmq/builds/gyp/project-tests.xml +83 -0
  174. data/vendor/github.com/zeromq/libzmq/builds/gyp/project.gyp +295 -0
  175. data/vendor/github.com/zeromq/libzmq/builds/mingw32/Makefile.mingw32 +49 -0
  176. data/vendor/github.com/zeromq/libzmq/builds/mingw32/platform.hpp +43 -0
  177. data/vendor/github.com/zeromq/libzmq/builds/msvc/.gitignore +256 -0
  178. data/vendor/github.com/zeromq/libzmq/builds/msvc/Makefile.am +94 -0
  179. data/vendor/github.com/zeromq/libzmq/builds/msvc/build/build.bat +33 -0
  180. data/vendor/github.com/zeromq/libzmq/builds/msvc/build/buildall.bat +16 -0
  181. data/vendor/github.com/zeromq/libzmq/builds/msvc/build/buildbase.bat +73 -0
  182. data/vendor/github.com/zeromq/libzmq/builds/msvc/errno.cpp +32 -0
  183. data/vendor/github.com/zeromq/libzmq/builds/msvc/errno.hpp +56 -0
  184. data/vendor/github.com/zeromq/libzmq/builds/msvc/platform.hpp +14 -0
  185. data/vendor/github.com/zeromq/libzmq/builds/msvc/properties/Common.props +21 -0
  186. data/vendor/github.com/zeromq/libzmq/builds/msvc/properties/DLL.props +16 -0
  187. data/vendor/github.com/zeromq/libzmq/builds/msvc/properties/Debug.props +29 -0
  188. data/vendor/github.com/zeromq/libzmq/builds/msvc/properties/DebugDEXE.props +21 -0
  189. data/vendor/github.com/zeromq/libzmq/builds/msvc/properties/DebugDLL.props +20 -0
  190. data/vendor/github.com/zeromq/libzmq/builds/msvc/properties/DebugLEXE.props +20 -0
  191. data/vendor/github.com/zeromq/libzmq/builds/msvc/properties/DebugLIB.props +21 -0
  192. data/vendor/github.com/zeromq/libzmq/builds/msvc/properties/DebugLTCG.props +20 -0
  193. data/vendor/github.com/zeromq/libzmq/builds/msvc/properties/DebugSEXE.props +21 -0
  194. data/vendor/github.com/zeromq/libzmq/builds/msvc/properties/EXE.props +17 -0
  195. data/vendor/github.com/zeromq/libzmq/builds/msvc/properties/LIB.props +16 -0
  196. data/vendor/github.com/zeromq/libzmq/builds/msvc/properties/LTCG.props +13 -0
  197. data/vendor/github.com/zeromq/libzmq/builds/msvc/properties/Link.props +21 -0
  198. data/vendor/github.com/zeromq/libzmq/builds/msvc/properties/Messages.props +15 -0
  199. data/vendor/github.com/zeromq/libzmq/builds/msvc/properties/Output.props +30 -0
  200. data/vendor/github.com/zeromq/libzmq/builds/msvc/properties/Release.props +41 -0
  201. data/vendor/github.com/zeromq/libzmq/builds/msvc/properties/ReleaseDEXE.props +20 -0
  202. data/vendor/github.com/zeromq/libzmq/builds/msvc/properties/ReleaseDLL.props +19 -0
  203. data/vendor/github.com/zeromq/libzmq/builds/msvc/properties/ReleaseLEXE.props +20 -0
  204. data/vendor/github.com/zeromq/libzmq/builds/msvc/properties/ReleaseLIB.props +19 -0
  205. data/vendor/github.com/zeromq/libzmq/builds/msvc/properties/ReleaseLTCG.props +19 -0
  206. data/vendor/github.com/zeromq/libzmq/builds/msvc/properties/ReleaseSEXE.props +20 -0
  207. data/vendor/github.com/zeromq/libzmq/builds/msvc/properties/Win32.props +20 -0
  208. data/vendor/github.com/zeromq/libzmq/builds/msvc/properties/x64.props +23 -0
  209. data/vendor/github.com/zeromq/libzmq/builds/msvc/readme.txt +27 -0
  210. data/vendor/github.com/zeromq/libzmq/builds/msvc/resource.h +14 -0
  211. data/vendor/github.com/zeromq/libzmq/builds/msvc/resource.rc +0 -0
  212. data/vendor/github.com/zeromq/libzmq/builds/msvc/vs2008/inproc_lat/inproc_lat.vcproj +52 -0
  213. data/vendor/github.com/zeromq/libzmq/builds/msvc/vs2008/inproc_thr/inproc_thr.vcproj +52 -0
  214. data/vendor/github.com/zeromq/libzmq/builds/msvc/vs2008/libzmq.sln +95 -0
  215. data/vendor/github.com/zeromq/libzmq/builds/msvc/vs2008/libzmq/libzmq.vcproj +338 -0
  216. data/vendor/github.com/zeromq/libzmq/builds/msvc/vs2008/local_lat/local_lat.vcproj +52 -0
  217. data/vendor/github.com/zeromq/libzmq/builds/msvc/vs2008/local_thr/local_thr.vcproj +52 -0
  218. data/vendor/github.com/zeromq/libzmq/builds/msvc/vs2008/remote_lat/remote_lat.vcproj +52 -0
  219. data/vendor/github.com/zeromq/libzmq/builds/msvc/vs2008/remote_thr/remote_thr.vcproj +52 -0
  220. data/vendor/github.com/zeromq/libzmq/builds/msvc/vs2010/inproc_lat/inproc_lat.props +49 -0
  221. data/vendor/github.com/zeromq/libzmq/builds/msvc/vs2010/inproc_lat/inproc_lat.vcxproj +82 -0
  222. data/vendor/github.com/zeromq/libzmq/builds/msvc/vs2010/inproc_thr/inproc_thr.props +49 -0
  223. data/vendor/github.com/zeromq/libzmq/builds/msvc/vs2010/inproc_thr/inproc_thr.vcxproj +82 -0
  224. data/vendor/github.com/zeromq/libzmq/builds/msvc/vs2010/libsodium.import.props +52 -0
  225. data/vendor/github.com/zeromq/libzmq/builds/msvc/vs2010/libsodium.import.xml +17 -0
  226. data/vendor/github.com/zeromq/libzmq/builds/msvc/vs2010/libzmq.import.props +64 -0
  227. data/vendor/github.com/zeromq/libzmq/builds/msvc/vs2010/libzmq.import.xml +49 -0
  228. data/vendor/github.com/zeromq/libzmq/builds/msvc/vs2010/libzmq.sln +206 -0
  229. data/vendor/github.com/zeromq/libzmq/builds/msvc/vs2010/libzmq/libzmq.props +76 -0
  230. data/vendor/github.com/zeromq/libzmq/builds/msvc/vs2010/libzmq/libzmq.vcxproj +289 -0
  231. data/vendor/github.com/zeromq/libzmq/builds/msvc/vs2010/libzmq/libzmq.vcxproj.filters +627 -0
  232. data/vendor/github.com/zeromq/libzmq/builds/msvc/vs2010/libzmq/libzmq.xml +40 -0
  233. data/vendor/github.com/zeromq/libzmq/builds/msvc/vs2010/local_lat/local_lat.props +49 -0
  234. data/vendor/github.com/zeromq/libzmq/builds/msvc/vs2010/local_lat/local_lat.vcxproj +82 -0
  235. data/vendor/github.com/zeromq/libzmq/builds/msvc/vs2010/local_thr/local_thr.props +49 -0
  236. data/vendor/github.com/zeromq/libzmq/builds/msvc/vs2010/local_thr/local_thr.vcxproj +82 -0
  237. data/vendor/github.com/zeromq/libzmq/builds/msvc/vs2010/remote_lat/remote_lat.props +49 -0
  238. data/vendor/github.com/zeromq/libzmq/builds/msvc/vs2010/remote_lat/remote_lat.vcxproj +82 -0
  239. data/vendor/github.com/zeromq/libzmq/builds/msvc/vs2010/remote_thr/remote_thr.props +49 -0
  240. data/vendor/github.com/zeromq/libzmq/builds/msvc/vs2010/remote_thr/remote_thr.vcxproj +82 -0
  241. data/vendor/github.com/zeromq/libzmq/builds/msvc/vs2012/inproc_lat/inproc_lat.props +49 -0
  242. data/vendor/github.com/zeromq/libzmq/builds/msvc/vs2012/inproc_lat/inproc_lat.vcxproj +82 -0
  243. data/vendor/github.com/zeromq/libzmq/builds/msvc/vs2012/inproc_thr/inproc_thr.props +49 -0
  244. data/vendor/github.com/zeromq/libzmq/builds/msvc/vs2012/inproc_thr/inproc_thr.vcxproj +82 -0
  245. data/vendor/github.com/zeromq/libzmq/builds/msvc/vs2012/libsodium.import.props +52 -0
  246. data/vendor/github.com/zeromq/libzmq/builds/msvc/vs2012/libsodium.import.xml +17 -0
  247. data/vendor/github.com/zeromq/libzmq/builds/msvc/vs2012/libzmq.import.props +64 -0
  248. data/vendor/github.com/zeromq/libzmq/builds/msvc/vs2012/libzmq.import.xml +49 -0
  249. data/vendor/github.com/zeromq/libzmq/builds/msvc/vs2012/libzmq.sln +206 -0
  250. data/vendor/github.com/zeromq/libzmq/builds/msvc/vs2012/libzmq/libzmq.props +76 -0
  251. data/vendor/github.com/zeromq/libzmq/builds/msvc/vs2012/libzmq/libzmq.vcxproj +289 -0
  252. data/vendor/github.com/zeromq/libzmq/builds/msvc/vs2012/libzmq/libzmq.vcxproj.filters +627 -0
  253. data/vendor/github.com/zeromq/libzmq/builds/msvc/vs2012/libzmq/libzmq.xml +40 -0
  254. data/vendor/github.com/zeromq/libzmq/builds/msvc/vs2012/local_lat/local_lat.props +49 -0
  255. data/vendor/github.com/zeromq/libzmq/builds/msvc/vs2012/local_lat/local_lat.vcxproj +82 -0
  256. data/vendor/github.com/zeromq/libzmq/builds/msvc/vs2012/local_thr/local_thr.props +49 -0
  257. data/vendor/github.com/zeromq/libzmq/builds/msvc/vs2012/local_thr/local_thr.vcxproj +82 -0
  258. data/vendor/github.com/zeromq/libzmq/builds/msvc/vs2012/remote_lat/remote_lat.props +49 -0
  259. data/vendor/github.com/zeromq/libzmq/builds/msvc/vs2012/remote_lat/remote_lat.vcxproj +82 -0
  260. data/vendor/github.com/zeromq/libzmq/builds/msvc/vs2012/remote_thr/remote_thr.props +49 -0
  261. data/vendor/github.com/zeromq/libzmq/builds/msvc/vs2012/remote_thr/remote_thr.vcxproj +82 -0
  262. data/vendor/github.com/zeromq/libzmq/builds/msvc/vs2013/inproc_lat/inproc_lat.props +49 -0
  263. data/vendor/github.com/zeromq/libzmq/builds/msvc/vs2013/inproc_lat/inproc_lat.vcxproj +82 -0
  264. data/vendor/github.com/zeromq/libzmq/builds/msvc/vs2013/inproc_thr/inproc_thr.props +49 -0
  265. data/vendor/github.com/zeromq/libzmq/builds/msvc/vs2013/inproc_thr/inproc_thr.vcxproj +82 -0
  266. data/vendor/github.com/zeromq/libzmq/builds/msvc/vs2013/libsodium.import.props +52 -0
  267. data/vendor/github.com/zeromq/libzmq/builds/msvc/vs2013/libsodium.import.xml +17 -0
  268. data/vendor/github.com/zeromq/libzmq/builds/msvc/vs2013/libzmq.import.props +64 -0
  269. data/vendor/github.com/zeromq/libzmq/builds/msvc/vs2013/libzmq.import.xml +49 -0
  270. data/vendor/github.com/zeromq/libzmq/builds/msvc/vs2013/libzmq.sln +208 -0
  271. data/vendor/github.com/zeromq/libzmq/builds/msvc/vs2013/libzmq/libzmq.props +76 -0
  272. data/vendor/github.com/zeromq/libzmq/builds/msvc/vs2013/libzmq/libzmq.vcxproj +289 -0
  273. data/vendor/github.com/zeromq/libzmq/builds/msvc/vs2013/libzmq/libzmq.vcxproj.filters +627 -0
  274. data/vendor/github.com/zeromq/libzmq/builds/msvc/vs2013/libzmq/libzmq.xml +40 -0
  275. data/vendor/github.com/zeromq/libzmq/builds/msvc/vs2013/local_lat/local_lat.props +49 -0
  276. data/vendor/github.com/zeromq/libzmq/builds/msvc/vs2013/local_lat/local_lat.vcxproj +82 -0
  277. data/vendor/github.com/zeromq/libzmq/builds/msvc/vs2013/local_thr/local_thr.props +49 -0
  278. data/vendor/github.com/zeromq/libzmq/builds/msvc/vs2013/local_thr/local_thr.vcxproj +82 -0
  279. data/vendor/github.com/zeromq/libzmq/builds/msvc/vs2013/remote_lat/remote_lat.props +49 -0
  280. data/vendor/github.com/zeromq/libzmq/builds/msvc/vs2013/remote_lat/remote_lat.vcxproj +82 -0
  281. data/vendor/github.com/zeromq/libzmq/builds/msvc/vs2013/remote_thr/remote_thr.props +49 -0
  282. data/vendor/github.com/zeromq/libzmq/builds/msvc/vs2013/remote_thr/remote_thr.vcxproj +82 -0
  283. data/vendor/github.com/zeromq/libzmq/builds/msvc/vs2015/inproc_lat/inproc_lat.props +49 -0
  284. data/vendor/github.com/zeromq/libzmq/builds/msvc/vs2015/inproc_lat/inproc_lat.vcxproj +82 -0
  285. data/vendor/github.com/zeromq/libzmq/builds/msvc/vs2015/inproc_thr/inproc_thr.props +49 -0
  286. data/vendor/github.com/zeromq/libzmq/builds/msvc/vs2015/inproc_thr/inproc_thr.vcxproj +82 -0
  287. data/vendor/github.com/zeromq/libzmq/builds/msvc/vs2015/libsodium.import.props +52 -0
  288. data/vendor/github.com/zeromq/libzmq/builds/msvc/vs2015/libsodium.import.xml +17 -0
  289. data/vendor/github.com/zeromq/libzmq/builds/msvc/vs2015/libzmq.import.props +64 -0
  290. data/vendor/github.com/zeromq/libzmq/builds/msvc/vs2015/libzmq.import.xml +49 -0
  291. data/vendor/github.com/zeromq/libzmq/builds/msvc/vs2015/libzmq.sln +208 -0
  292. data/vendor/github.com/zeromq/libzmq/builds/msvc/vs2015/libzmq/libzmq.props +76 -0
  293. data/vendor/github.com/zeromq/libzmq/builds/msvc/vs2015/libzmq/libzmq.vcxproj +289 -0
  294. data/vendor/github.com/zeromq/libzmq/builds/msvc/vs2015/libzmq/libzmq.vcxproj.filters +627 -0
  295. data/vendor/github.com/zeromq/libzmq/builds/msvc/vs2015/libzmq/libzmq.xml +40 -0
  296. data/vendor/github.com/zeromq/libzmq/builds/msvc/vs2015/local_lat/local_lat.props +49 -0
  297. data/vendor/github.com/zeromq/libzmq/builds/msvc/vs2015/local_lat/local_lat.vcxproj +82 -0
  298. data/vendor/github.com/zeromq/libzmq/builds/msvc/vs2015/local_thr/local_thr.props +49 -0
  299. data/vendor/github.com/zeromq/libzmq/builds/msvc/vs2015/local_thr/local_thr.vcxproj +82 -0
  300. data/vendor/github.com/zeromq/libzmq/builds/msvc/vs2015/remote_lat/remote_lat.props +49 -0
  301. data/vendor/github.com/zeromq/libzmq/builds/msvc/vs2015/remote_lat/remote_lat.vcxproj +82 -0
  302. data/vendor/github.com/zeromq/libzmq/builds/msvc/vs2015/remote_thr/remote_thr.props +49 -0
  303. data/vendor/github.com/zeromq/libzmq/builds/msvc/vs2015/remote_thr/remote_thr.vcxproj +82 -0
  304. data/vendor/github.com/zeromq/libzmq/builds/msvc/vs2015_xp/libzmq.vcxproj +258 -0
  305. data/vendor/github.com/zeromq/libzmq/builds/msvc/vs2015_xp/platform.hpp +15 -0
  306. data/vendor/github.com/zeromq/libzmq/builds/msvc/vs2015_xp/test_zmq/test_multithread.cpp +229 -0
  307. data/vendor/github.com/zeromq/libzmq/builds/msvc/vs2015_xp/test_zmq/test_zmq.vcxproj +155 -0
  308. data/vendor/github.com/zeromq/libzmq/builds/msvc/vs2017/inproc_lat/inproc_lat.props +49 -0
  309. data/vendor/github.com/zeromq/libzmq/builds/msvc/vs2017/inproc_lat/inproc_lat.vcxproj +82 -0
  310. data/vendor/github.com/zeromq/libzmq/builds/msvc/vs2017/inproc_thr/inproc_thr.props +49 -0
  311. data/vendor/github.com/zeromq/libzmq/builds/msvc/vs2017/inproc_thr/inproc_thr.vcxproj +82 -0
  312. data/vendor/github.com/zeromq/libzmq/builds/msvc/vs2017/libsodium.import.props +52 -0
  313. data/vendor/github.com/zeromq/libzmq/builds/msvc/vs2017/libsodium.import.xml +17 -0
  314. data/vendor/github.com/zeromq/libzmq/builds/msvc/vs2017/libzmq.import.props +64 -0
  315. data/vendor/github.com/zeromq/libzmq/builds/msvc/vs2017/libzmq.import.xml +49 -0
  316. data/vendor/github.com/zeromq/libzmq/builds/msvc/vs2017/libzmq.sln +208 -0
  317. data/vendor/github.com/zeromq/libzmq/builds/msvc/vs2017/libzmq/libzmq.props +76 -0
  318. data/vendor/github.com/zeromq/libzmq/builds/msvc/vs2017/libzmq/libzmq.vcxproj +289 -0
  319. data/vendor/github.com/zeromq/libzmq/builds/msvc/vs2017/libzmq/libzmq.vcxproj.filters +627 -0
  320. data/vendor/github.com/zeromq/libzmq/builds/msvc/vs2017/libzmq/libzmq.xml +40 -0
  321. data/vendor/github.com/zeromq/libzmq/builds/msvc/vs2017/local_lat/local_lat.props +49 -0
  322. data/vendor/github.com/zeromq/libzmq/builds/msvc/vs2017/local_lat/local_lat.vcxproj +82 -0
  323. data/vendor/github.com/zeromq/libzmq/builds/msvc/vs2017/local_thr/local_thr.props +49 -0
  324. data/vendor/github.com/zeromq/libzmq/builds/msvc/vs2017/local_thr/local_thr.vcxproj +82 -0
  325. data/vendor/github.com/zeromq/libzmq/builds/msvc/vs2017/remote_lat/remote_lat.props +49 -0
  326. data/vendor/github.com/zeromq/libzmq/builds/msvc/vs2017/remote_lat/remote_lat.vcxproj +82 -0
  327. data/vendor/github.com/zeromq/libzmq/builds/msvc/vs2017/remote_thr/remote_thr.props +49 -0
  328. data/vendor/github.com/zeromq/libzmq/builds/msvc/vs2017/remote_thr/remote_thr.vcxproj +82 -0
  329. data/vendor/github.com/zeromq/libzmq/builds/nuget/libzmq.autopkg +52 -0
  330. data/vendor/github.com/zeromq/libzmq/builds/nuget/readme.nuget +20 -0
  331. data/vendor/github.com/zeromq/libzmq/builds/openwrt/Makefile +70 -0
  332. data/vendor/github.com/zeromq/libzmq/builds/valgrind/ci_build.sh +30 -0
  333. data/vendor/github.com/zeromq/libzmq/builds/valgrind/valgrind.supp +22 -0
  334. data/vendor/github.com/zeromq/libzmq/builds/valgrind/vg +1 -0
  335. data/vendor/github.com/zeromq/libzmq/builds/zos/README.md +463 -0
  336. data/vendor/github.com/zeromq/libzmq/builds/zos/cxxall +62 -0
  337. data/vendor/github.com/zeromq/libzmq/builds/zos/makeclean +36 -0
  338. data/vendor/github.com/zeromq/libzmq/builds/zos/makelibzmq +54 -0
  339. data/vendor/github.com/zeromq/libzmq/builds/zos/maketests +102 -0
  340. data/vendor/github.com/zeromq/libzmq/builds/zos/platform.hpp +300 -0
  341. data/vendor/github.com/zeromq/libzmq/builds/zos/runtests +188 -0
  342. data/vendor/github.com/zeromq/libzmq/builds/zos/test_fork.cpp +95 -0
  343. data/vendor/github.com/zeromq/libzmq/builds/zos/zc++ +42 -0
  344. data/vendor/github.com/zeromq/libzmq/ci_build.sh +66 -0
  345. data/vendor/github.com/zeromq/libzmq/ci_deploy.sh +34 -0
  346. data/vendor/github.com/zeromq/libzmq/configure.ac +827 -0
  347. data/vendor/github.com/zeromq/libzmq/doc/Makefile.am +64 -0
  348. data/vendor/github.com/zeromq/libzmq/doc/asciidoc.conf +56 -0
  349. data/vendor/github.com/zeromq/libzmq/doc/zmq.txt +276 -0
  350. data/vendor/github.com/zeromq/libzmq/doc/zmq_atomic_counter_dec.txt +62 -0
  351. data/vendor/github.com/zeromq/libzmq/doc/zmq_atomic_counter_destroy.txt +62 -0
  352. data/vendor/github.com/zeromq/libzmq/doc/zmq_atomic_counter_inc.txt +61 -0
  353. data/vendor/github.com/zeromq/libzmq/doc/zmq_atomic_counter_new.txt +62 -0
  354. data/vendor/github.com/zeromq/libzmq/doc/zmq_atomic_counter_set.txt +61 -0
  355. data/vendor/github.com/zeromq/libzmq/doc/zmq_atomic_counter_value.txt +62 -0
  356. data/vendor/github.com/zeromq/libzmq/doc/zmq_bind.txt +103 -0
  357. data/vendor/github.com/zeromq/libzmq/doc/zmq_close.txt +56 -0
  358. data/vendor/github.com/zeromq/libzmq/doc/zmq_connect.txt +101 -0
  359. data/vendor/github.com/zeromq/libzmq/doc/zmq_ctx_destroy.txt +67 -0
  360. data/vendor/github.com/zeromq/libzmq/doc/zmq_ctx_get.txt +105 -0
  361. data/vendor/github.com/zeromq/libzmq/doc/zmq_ctx_new.txt +50 -0
  362. data/vendor/github.com/zeromq/libzmq/doc/zmq_ctx_set.txt +184 -0
  363. data/vendor/github.com/zeromq/libzmq/doc/zmq_ctx_shutdown.txt +52 -0
  364. data/vendor/github.com/zeromq/libzmq/doc/zmq_ctx_term.txt +68 -0
  365. data/vendor/github.com/zeromq/libzmq/doc/zmq_curve.txt +92 -0
  366. data/vendor/github.com/zeromq/libzmq/doc/zmq_curve_keypair.txt +56 -0
  367. data/vendor/github.com/zeromq/libzmq/doc/zmq_curve_public.txt +62 -0
  368. data/vendor/github.com/zeromq/libzmq/doc/zmq_disconnect.txt +75 -0
  369. data/vendor/github.com/zeromq/libzmq/doc/zmq_errno.txt +50 -0
  370. data/vendor/github.com/zeromq/libzmq/doc/zmq_getsockopt.txt +944 -0
  371. data/vendor/github.com/zeromq/libzmq/doc/zmq_gssapi.txt +78 -0
  372. data/vendor/github.com/zeromq/libzmq/doc/zmq_has.txt +44 -0
  373. data/vendor/github.com/zeromq/libzmq/doc/zmq_init.txt +52 -0
  374. data/vendor/github.com/zeromq/libzmq/doc/zmq_inproc.txt +88 -0
  375. data/vendor/github.com/zeromq/libzmq/doc/zmq_ipc.txt +106 -0
  376. data/vendor/github.com/zeromq/libzmq/doc/zmq_msg_close.txt +56 -0
  377. data/vendor/github.com/zeromq/libzmq/doc/zmq_msg_copy.txt +72 -0
  378. data/vendor/github.com/zeromq/libzmq/doc/zmq_msg_data.txt +48 -0
  379. data/vendor/github.com/zeromq/libzmq/doc/zmq_msg_get.txt +83 -0
  380. data/vendor/github.com/zeromq/libzmq/doc/zmq_msg_gets.txt +81 -0
  381. data/vendor/github.com/zeromq/libzmq/doc/zmq_msg_init.txt +64 -0
  382. data/vendor/github.com/zeromq/libzmq/doc/zmq_msg_init_data.txt +89 -0
  383. data/vendor/github.com/zeromq/libzmq/doc/zmq_msg_init_size.txt +58 -0
  384. data/vendor/github.com/zeromq/libzmq/doc/zmq_msg_more.txt +65 -0
  385. data/vendor/github.com/zeromq/libzmq/doc/zmq_msg_move.txt +52 -0
  386. data/vendor/github.com/zeromq/libzmq/doc/zmq_msg_recv.txt +124 -0
  387. data/vendor/github.com/zeromq/libzmq/doc/zmq_msg_routing_id.txt +61 -0
  388. data/vendor/github.com/zeromq/libzmq/doc/zmq_msg_send.txt +127 -0
  389. data/vendor/github.com/zeromq/libzmq/doc/zmq_msg_set.txt +46 -0
  390. data/vendor/github.com/zeromq/libzmq/doc/zmq_msg_set_routing_id.txt +46 -0
  391. data/vendor/github.com/zeromq/libzmq/doc/zmq_msg_size.txt +48 -0
  392. data/vendor/github.com/zeromq/libzmq/doc/zmq_null.txt +27 -0
  393. data/vendor/github.com/zeromq/libzmq/doc/zmq_pgm.txt +164 -0
  394. data/vendor/github.com/zeromq/libzmq/doc/zmq_plain.txt +37 -0
  395. data/vendor/github.com/zeromq/libzmq/doc/zmq_poll.txt +135 -0
  396. data/vendor/github.com/zeromq/libzmq/doc/zmq_proxy.txt +99 -0
  397. data/vendor/github.com/zeromq/libzmq/doc/zmq_proxy_steerable.txt +111 -0
  398. data/vendor/github.com/zeromq/libzmq/doc/zmq_recv.txt +91 -0
  399. data/vendor/github.com/zeromq/libzmq/doc/zmq_recvmsg.txt +121 -0
  400. data/vendor/github.com/zeromq/libzmq/doc/zmq_send.txt +104 -0
  401. data/vendor/github.com/zeromq/libzmq/doc/zmq_send_const.txt +103 -0
  402. data/vendor/github.com/zeromq/libzmq/doc/zmq_sendmsg.txt +121 -0
  403. data/vendor/github.com/zeromq/libzmq/doc/zmq_setsockopt.txt +1318 -0
  404. data/vendor/github.com/zeromq/libzmq/doc/zmq_socket.txt +609 -0
  405. data/vendor/github.com/zeromq/libzmq/doc/zmq_socket_monitor.txt +294 -0
  406. data/vendor/github.com/zeromq/libzmq/doc/zmq_strerror.txt +56 -0
  407. data/vendor/github.com/zeromq/libzmq/doc/zmq_tcp.txt +118 -0
  408. data/vendor/github.com/zeromq/libzmq/doc/zmq_term.txt +66 -0
  409. data/vendor/github.com/zeromq/libzmq/doc/zmq_tipc.txt +83 -0
  410. data/vendor/github.com/zeromq/libzmq/doc/zmq_udp.txt +99 -0
  411. data/vendor/github.com/zeromq/libzmq/doc/zmq_unbind.txt +90 -0
  412. data/vendor/github.com/zeromq/libzmq/doc/zmq_version.txt +54 -0
  413. data/vendor/github.com/zeromq/libzmq/doc/zmq_vmci.txt +97 -0
  414. data/vendor/github.com/zeromq/libzmq/doc/zmq_z85_decode.txt +51 -0
  415. data/vendor/github.com/zeromq/libzmq/doc/zmq_z85_encode.txt +58 -0
  416. data/vendor/github.com/zeromq/libzmq/include/zmq.h +708 -0
  417. data/vendor/github.com/zeromq/libzmq/include/zmq_utils.h +48 -0
  418. data/vendor/github.com/zeromq/libzmq/installer.ico +0 -0
  419. data/vendor/github.com/zeromq/libzmq/m4/ax_check_compile_flag.m4 +74 -0
  420. data/vendor/github.com/zeromq/libzmq/m4/ax_code_coverage.m4 +264 -0
  421. data/vendor/github.com/zeromq/libzmq/m4/ax_cxx_compile_stdcxx.m4 +562 -0
  422. data/vendor/github.com/zeromq/libzmq/m4/ax_cxx_compile_stdcxx_11.m4 +40 -0
  423. data/vendor/github.com/zeromq/libzmq/m4/ax_valgrind_check.m4 +233 -0
  424. data/vendor/github.com/zeromq/libzmq/packaging/README +4 -0
  425. data/vendor/github.com/zeromq/libzmq/packaging/debian/changelog +5 -0
  426. data/vendor/github.com/zeromq/libzmq/packaging/debian/compat +1 -0
  427. data/vendor/github.com/zeromq/libzmq/packaging/debian/control +64 -0
  428. data/vendor/github.com/zeromq/libzmq/packaging/debian/copyright +93 -0
  429. data/vendor/github.com/zeromq/libzmq/packaging/debian/libzmq3-dev.install +4 -0
  430. data/vendor/github.com/zeromq/libzmq/packaging/debian/libzmq3-dev.manpages +2 -0
  431. data/vendor/github.com/zeromq/libzmq/packaging/debian/libzmq5.docs +2 -0
  432. data/vendor/github.com/zeromq/libzmq/packaging/debian/libzmq5.install +1 -0
  433. data/vendor/github.com/zeromq/libzmq/packaging/debian/rules +67 -0
  434. data/vendor/github.com/zeromq/libzmq/packaging/debian/source/format +1 -0
  435. data/vendor/github.com/zeromq/libzmq/packaging/debian/zeromq.dsc.obs +15 -0
  436. data/vendor/github.com/zeromq/libzmq/packaging/nuget/package.bat +14 -0
  437. data/vendor/github.com/zeromq/libzmq/packaging/nuget/package.config +6 -0
  438. data/vendor/github.com/zeromq/libzmq/packaging/nuget/package.gsl +264 -0
  439. data/vendor/github.com/zeromq/libzmq/packaging/nuget/package.nuspec +98 -0
  440. data/vendor/github.com/zeromq/libzmq/packaging/nuget/package.targets +129 -0
  441. data/vendor/github.com/zeromq/libzmq/packaging/nuget/package.xml +22 -0
  442. data/vendor/github.com/zeromq/libzmq/packaging/obs/_service +98 -0
  443. data/vendor/github.com/zeromq/libzmq/packaging/redhat/zeromq.spec +234 -0
  444. data/vendor/github.com/zeromq/libzmq/perf/inproc_lat.cpp +240 -0
  445. data/vendor/github.com/zeromq/libzmq/perf/inproc_thr.cpp +250 -0
  446. data/vendor/github.com/zeromq/libzmq/perf/local_lat.cpp +116 -0
  447. data/vendor/github.com/zeromq/libzmq/perf/local_thr.cpp +160 -0
  448. data/vendor/github.com/zeromq/libzmq/perf/remote_lat.cpp +129 -0
  449. data/vendor/github.com/zeromq/libzmq/perf/remote_thr.cpp +135 -0
  450. data/vendor/github.com/zeromq/libzmq/src/address.cpp +134 -0
  451. data/vendor/github.com/zeromq/libzmq/src/address.hpp +77 -0
  452. data/vendor/github.com/zeromq/libzmq/src/array.hpp +167 -0
  453. data/vendor/github.com/zeromq/libzmq/src/atomic_counter.hpp +249 -0
  454. data/vendor/github.com/zeromq/libzmq/src/atomic_ptr.hpp +227 -0
  455. data/vendor/github.com/zeromq/libzmq/src/blob.hpp +186 -0
  456. data/vendor/github.com/zeromq/libzmq/src/client.cpp +116 -0
  457. data/vendor/github.com/zeromq/libzmq/src/client.hpp +81 -0
  458. data/vendor/github.com/zeromq/libzmq/src/clock.cpp +253 -0
  459. data/vendor/github.com/zeromq/libzmq/src/clock.hpp +83 -0
  460. data/vendor/github.com/zeromq/libzmq/src/command.hpp +188 -0
  461. data/vendor/github.com/zeromq/libzmq/src/condition_variable.hpp +279 -0
  462. data/vendor/github.com/zeromq/libzmq/src/config.hpp +98 -0
  463. data/vendor/github.com/zeromq/libzmq/src/ctx.cpp +644 -0
  464. data/vendor/github.com/zeromq/libzmq/src/ctx.hpp +242 -0
  465. data/vendor/github.com/zeromq/libzmq/src/curve_client.cpp +297 -0
  466. data/vendor/github.com/zeromq/libzmq/src/curve_client.hpp +87 -0
  467. data/vendor/github.com/zeromq/libzmq/src/curve_client_tools.hpp +307 -0
  468. data/vendor/github.com/zeromq/libzmq/src/curve_mechanism_base.cpp +181 -0
  469. data/vendor/github.com/zeromq/libzmq/src/curve_mechanism_base.hpp +79 -0
  470. data/vendor/github.com/zeromq/libzmq/src/curve_server.cpp +492 -0
  471. data/vendor/github.com/zeromq/libzmq/src/curve_server.hpp +94 -0
  472. data/vendor/github.com/zeromq/libzmq/src/dbuffer.hpp +144 -0
  473. data/vendor/github.com/zeromq/libzmq/src/dealer.cpp +143 -0
  474. data/vendor/github.com/zeromq/libzmq/src/dealer.hpp +89 -0
  475. data/vendor/github.com/zeromq/libzmq/src/decoder.hpp +198 -0
  476. data/vendor/github.com/zeromq/libzmq/src/decoder_allocators.cpp +144 -0
  477. data/vendor/github.com/zeromq/libzmq/src/decoder_allocators.hpp +155 -0
  478. data/vendor/github.com/zeromq/libzmq/src/devpoll.cpp +205 -0
  479. data/vendor/github.com/zeromq/libzmq/src/devpoll.hpp +119 -0
  480. data/vendor/github.com/zeromq/libzmq/src/dgram.cpp +177 -0
  481. data/vendor/github.com/zeromq/libzmq/src/dgram.hpp +81 -0
  482. data/vendor/github.com/zeromq/libzmq/src/dish.cpp +360 -0
  483. data/vendor/github.com/zeromq/libzmq/src/dish.hpp +125 -0
  484. data/vendor/github.com/zeromq/libzmq/src/dist.cpp +235 -0
  485. data/vendor/github.com/zeromq/libzmq/src/dist.hpp +120 -0
  486. data/vendor/github.com/zeromq/libzmq/src/encoder.hpp +189 -0
  487. data/vendor/github.com/zeromq/libzmq/src/epoll.cpp +206 -0
  488. data/vendor/github.com/zeromq/libzmq/src/epoll.hpp +119 -0
  489. data/vendor/github.com/zeromq/libzmq/src/err.cpp +447 -0
  490. data/vendor/github.com/zeromq/libzmq/src/err.hpp +173 -0
  491. data/vendor/github.com/zeromq/libzmq/src/fd.hpp +52 -0
  492. data/vendor/github.com/zeromq/libzmq/src/fq.cpp +163 -0
  493. data/vendor/github.com/zeromq/libzmq/src/fq.hpp +92 -0
  494. data/vendor/github.com/zeromq/libzmq/src/gather.cpp +94 -0
  495. data/vendor/github.com/zeromq/libzmq/src/gather.hpp +75 -0
  496. data/vendor/github.com/zeromq/libzmq/src/gssapi_client.cpp +237 -0
  497. data/vendor/github.com/zeromq/libzmq/src/gssapi_client.hpp +94 -0
  498. data/vendor/github.com/zeromq/libzmq/src/gssapi_mechanism_base.cpp +402 -0
  499. data/vendor/github.com/zeromq/libzmq/src/gssapi_mechanism_base.hpp +134 -0
  500. data/vendor/github.com/zeromq/libzmq/src/gssapi_server.cpp +249 -0
  501. data/vendor/github.com/zeromq/libzmq/src/gssapi_server.hpp +95 -0
  502. data/vendor/github.com/zeromq/libzmq/src/i_decoder.hpp +64 -0
  503. data/vendor/github.com/zeromq/libzmq/src/i_encoder.hpp +60 -0
  504. data/vendor/github.com/zeromq/libzmq/src/i_engine.hpp +68 -0
  505. data/vendor/github.com/zeromq/libzmq/src/i_mailbox.hpp +60 -0
  506. data/vendor/github.com/zeromq/libzmq/src/i_poll_events.hpp +55 -0
  507. data/vendor/github.com/zeromq/libzmq/src/io_object.cpp +117 -0
  508. data/vendor/github.com/zeromq/libzmq/src/io_object.hpp +89 -0
  509. data/vendor/github.com/zeromq/libzmq/src/io_thread.cpp +114 -0
  510. data/vendor/github.com/zeromq/libzmq/src/io_thread.hpp +99 -0
  511. data/vendor/github.com/zeromq/libzmq/src/ip.cpp +235 -0
  512. data/vendor/github.com/zeromq/libzmq/src/ip.hpp +64 -0
  513. data/vendor/github.com/zeromq/libzmq/src/ipc_address.cpp +106 -0
  514. data/vendor/github.com/zeromq/libzmq/src/ipc_address.hpp +74 -0
  515. data/vendor/github.com/zeromq/libzmq/src/ipc_connecter.cpp +278 -0
  516. data/vendor/github.com/zeromq/libzmq/src/ipc_connecter.hpp +135 -0
  517. data/vendor/github.com/zeromq/libzmq/src/ipc_listener.cpp +427 -0
  518. data/vendor/github.com/zeromq/libzmq/src/ipc_listener.hpp +123 -0
  519. data/vendor/github.com/zeromq/libzmq/src/kqueue.cpp +227 -0
  520. data/vendor/github.com/zeromq/libzmq/src/kqueue.hpp +127 -0
  521. data/vendor/github.com/zeromq/libzmq/src/lb.cpp +173 -0
  522. data/vendor/github.com/zeromq/libzmq/src/lb.hpp +88 -0
  523. data/vendor/github.com/zeromq/libzmq/src/libzmq.pc.cmake.in +11 -0
  524. data/vendor/github.com/zeromq/libzmq/src/libzmq.pc.in +11 -0
  525. data/vendor/github.com/zeromq/libzmq/src/libzmq.vers +4 -0
  526. data/vendor/github.com/zeromq/libzmq/src/likely.hpp +42 -0
  527. data/vendor/github.com/zeromq/libzmq/src/macros.hpp +12 -0
  528. data/vendor/github.com/zeromq/libzmq/src/mailbox.cpp +101 -0
  529. data/vendor/github.com/zeromq/libzmq/src/mailbox.hpp +90 -0
  530. data/vendor/github.com/zeromq/libzmq/src/mailbox_safe.cpp +117 -0
  531. data/vendor/github.com/zeromq/libzmq/src/mailbox_safe.hpp +94 -0
  532. data/vendor/github.com/zeromq/libzmq/src/mechanism.cpp +285 -0
  533. data/vendor/github.com/zeromq/libzmq/src/mechanism.hpp +152 -0
  534. data/vendor/github.com/zeromq/libzmq/src/mechanism_base.cpp +70 -0
  535. data/vendor/github.com/zeromq/libzmq/src/mechanism_base.hpp +53 -0
  536. data/vendor/github.com/zeromq/libzmq/src/metadata.cpp +62 -0
  537. data/vendor/github.com/zeromq/libzmq/src/metadata.hpp +70 -0
  538. data/vendor/github.com/zeromq/libzmq/src/msg.cpp +578 -0
  539. data/vendor/github.com/zeromq/libzmq/src/msg.hpp +268 -0
  540. data/vendor/github.com/zeromq/libzmq/src/mtrie.cpp +434 -0
  541. data/vendor/github.com/zeromq/libzmq/src/mtrie.hpp +102 -0
  542. data/vendor/github.com/zeromq/libzmq/src/mutex.hpp +213 -0
  543. data/vendor/github.com/zeromq/libzmq/src/norm_engine.cpp +736 -0
  544. data/vendor/github.com/zeromq/libzmq/src/norm_engine.hpp +190 -0
  545. data/vendor/github.com/zeromq/libzmq/src/null_mechanism.cpp +220 -0
  546. data/vendor/github.com/zeromq/libzmq/src/null_mechanism.hpp +77 -0
  547. data/vendor/github.com/zeromq/libzmq/src/object.cpp +476 -0
  548. data/vendor/github.com/zeromq/libzmq/src/object.hpp +156 -0
  549. data/vendor/github.com/zeromq/libzmq/src/options.cpp +1089 -0
  550. data/vendor/github.com/zeromq/libzmq/src/options.hpp +251 -0
  551. data/vendor/github.com/zeromq/libzmq/src/own.cpp +216 -0
  552. data/vendor/github.com/zeromq/libzmq/src/own.hpp +154 -0
  553. data/vendor/github.com/zeromq/libzmq/src/pair.cpp +142 -0
  554. data/vendor/github.com/zeromq/libzmq/src/pair.hpp +78 -0
  555. data/vendor/github.com/zeromq/libzmq/src/pgm_receiver.cpp +307 -0
  556. data/vendor/github.com/zeromq/libzmq/src/pgm_receiver.hpp +147 -0
  557. data/vendor/github.com/zeromq/libzmq/src/pgm_sender.cpp +257 -0
  558. data/vendor/github.com/zeromq/libzmq/src/pgm_sender.hpp +124 -0
  559. data/vendor/github.com/zeromq/libzmq/src/pgm_socket.cpp +712 -0
  560. data/vendor/github.com/zeromq/libzmq/src/pgm_socket.hpp +128 -0
  561. data/vendor/github.com/zeromq/libzmq/src/pipe.cpp +547 -0
  562. data/vendor/github.com/zeromq/libzmq/src/pipe.hpp +253 -0
  563. data/vendor/github.com/zeromq/libzmq/src/plain_client.cpp +220 -0
  564. data/vendor/github.com/zeromq/libzmq/src/plain_client.hpp +79 -0
  565. data/vendor/github.com/zeromq/libzmq/src/plain_server.cpp +253 -0
  566. data/vendor/github.com/zeromq/libzmq/src/plain_server.hpp +71 -0
  567. data/vendor/github.com/zeromq/libzmq/src/poll.cpp +193 -0
  568. data/vendor/github.com/zeromq/libzmq/src/poll.hpp +121 -0
  569. data/vendor/github.com/zeromq/libzmq/src/poller.hpp +64 -0
  570. data/vendor/github.com/zeromq/libzmq/src/poller_base.cpp +110 -0
  571. data/vendor/github.com/zeromq/libzmq/src/poller_base.hpp +95 -0
  572. data/vendor/github.com/zeromq/libzmq/src/pollset.cpp +254 -0
  573. data/vendor/github.com/zeromq/libzmq/src/pollset.hpp +121 -0
  574. data/vendor/github.com/zeromq/libzmq/src/precompiled.cpp +30 -0
  575. data/vendor/github.com/zeromq/libzmq/src/precompiled.hpp +120 -0
  576. data/vendor/github.com/zeromq/libzmq/src/proxy.cpp +622 -0
  577. data/vendor/github.com/zeromq/libzmq/src/proxy.hpp +42 -0
  578. data/vendor/github.com/zeromq/libzmq/src/pub.cpp +67 -0
  579. data/vendor/github.com/zeromq/libzmq/src/pub.hpp +63 -0
  580. data/vendor/github.com/zeromq/libzmq/src/pull.cpp +78 -0
  581. data/vendor/github.com/zeromq/libzmq/src/pull.hpp +75 -0
  582. data/vendor/github.com/zeromq/libzmq/src/push.cpp +77 -0
  583. data/vendor/github.com/zeromq/libzmq/src/push.hpp +73 -0
  584. data/vendor/github.com/zeromq/libzmq/src/radio.cpp +252 -0
  585. data/vendor/github.com/zeromq/libzmq/src/radio.hpp +112 -0
  586. data/vendor/github.com/zeromq/libzmq/src/random.cpp +118 -0
  587. data/vendor/github.com/zeromq/libzmq/src/random.hpp +52 -0
  588. data/vendor/github.com/zeromq/libzmq/src/raw_decoder.cpp +74 -0
  589. data/vendor/github.com/zeromq/libzmq/src/raw_decoder.hpp +74 -0
  590. data/vendor/github.com/zeromq/libzmq/src/raw_encoder.cpp +51 -0
  591. data/vendor/github.com/zeromq/libzmq/src/raw_encoder.hpp +64 -0
  592. data/vendor/github.com/zeromq/libzmq/src/reaper.cpp +142 -0
  593. data/vendor/github.com/zeromq/libzmq/src/reaper.hpp +94 -0
  594. data/vendor/github.com/zeromq/libzmq/src/rep.cpp +134 -0
  595. data/vendor/github.com/zeromq/libzmq/src/rep.hpp +73 -0
  596. data/vendor/github.com/zeromq/libzmq/src/req.cpp +323 -0
  597. data/vendor/github.com/zeromq/libzmq/src/req.hpp +121 -0
  598. data/vendor/github.com/zeromq/libzmq/src/router.cpp +551 -0
  599. data/vendor/github.com/zeromq/libzmq/src/router.hpp +147 -0
  600. data/vendor/github.com/zeromq/libzmq/src/scatter.cpp +83 -0
  601. data/vendor/github.com/zeromq/libzmq/src/scatter.hpp +73 -0
  602. data/vendor/github.com/zeromq/libzmq/src/select.cpp +567 -0
  603. data/vendor/github.com/zeromq/libzmq/src/select.hpp +184 -0
  604. data/vendor/github.com/zeromq/libzmq/src/server.cpp +184 -0
  605. data/vendor/github.com/zeromq/libzmq/src/server.hpp +96 -0
  606. data/vendor/github.com/zeromq/libzmq/src/session_base.cpp +716 -0
  607. data/vendor/github.com/zeromq/libzmq/src/session_base.hpp +173 -0
  608. data/vendor/github.com/zeromq/libzmq/src/signaler.cpp +682 -0
  609. data/vendor/github.com/zeromq/libzmq/src/signaler.hpp +91 -0
  610. data/vendor/github.com/zeromq/libzmq/src/socket_base.cpp +1778 -0
  611. data/vendor/github.com/zeromq/libzmq/src/socket_base.hpp +307 -0
  612. data/vendor/github.com/zeromq/libzmq/src/socket_poller.cpp +697 -0
  613. data/vendor/github.com/zeromq/libzmq/src/socket_poller.hpp +145 -0
  614. data/vendor/github.com/zeromq/libzmq/src/socks.cpp +286 -0
  615. data/vendor/github.com/zeromq/libzmq/src/socks.hpp +135 -0
  616. data/vendor/github.com/zeromq/libzmq/src/socks_connecter.cpp +482 -0
  617. data/vendor/github.com/zeromq/libzmq/src/socks_connecter.hpp +163 -0
  618. data/vendor/github.com/zeromq/libzmq/src/stdint.hpp +77 -0
  619. data/vendor/github.com/zeromq/libzmq/src/stream.cpp +321 -0
  620. data/vendor/github.com/zeromq/libzmq/src/stream.hpp +107 -0
  621. data/vendor/github.com/zeromq/libzmq/src/stream_engine.cpp +1110 -0
  622. data/vendor/github.com/zeromq/libzmq/src/stream_engine.hpp +233 -0
  623. data/vendor/github.com/zeromq/libzmq/src/sub.cpp +87 -0
  624. data/vendor/github.com/zeromq/libzmq/src/sub.hpp +64 -0
  625. data/vendor/github.com/zeromq/libzmq/src/tcp.cpp +356 -0
  626. data/vendor/github.com/zeromq/libzmq/src/tcp.hpp +69 -0
  627. data/vendor/github.com/zeromq/libzmq/src/tcp_address.cpp +897 -0
  628. data/vendor/github.com/zeromq/libzmq/src/tcp_address.hpp +117 -0
  629. data/vendor/github.com/zeromq/libzmq/src/tcp_connecter.cpp +426 -0
  630. data/vendor/github.com/zeromq/libzmq/src/tcp_connecter.hpp +134 -0
  631. data/vendor/github.com/zeromq/libzmq/src/tcp_listener.cpp +357 -0
  632. data/vendor/github.com/zeromq/libzmq/src/tcp_listener.hpp +98 -0
  633. data/vendor/github.com/zeromq/libzmq/src/thread.cpp +238 -0
  634. data/vendor/github.com/zeromq/libzmq/src/thread.hpp +102 -0
  635. data/vendor/github.com/zeromq/libzmq/src/timers.cpp +199 -0
  636. data/vendor/github.com/zeromq/libzmq/src/timers.hpp +110 -0
  637. data/vendor/github.com/zeromq/libzmq/src/tipc_address.cpp +124 -0
  638. data/vendor/github.com/zeromq/libzmq/src/tipc_address.hpp +75 -0
  639. data/vendor/github.com/zeromq/libzmq/src/tipc_connecter.cpp +268 -0
  640. data/vendor/github.com/zeromq/libzmq/src/tipc_connecter.hpp +137 -0
  641. data/vendor/github.com/zeromq/libzmq/src/tipc_listener.cpp +190 -0
  642. data/vendor/github.com/zeromq/libzmq/src/tipc_listener.hpp +107 -0
  643. data/vendor/github.com/zeromq/libzmq/src/trie.cpp +340 -0
  644. data/vendor/github.com/zeromq/libzmq/src/trie.hpp +86 -0
  645. data/vendor/github.com/zeromq/libzmq/src/tweetnacl.c +988 -0
  646. data/vendor/github.com/zeromq/libzmq/src/tweetnacl.h +75 -0
  647. data/vendor/github.com/zeromq/libzmq/src/udp_address.cpp +172 -0
  648. data/vendor/github.com/zeromq/libzmq/src/udp_address.hpp +78 -0
  649. data/vendor/github.com/zeromq/libzmq/src/udp_engine.cpp +394 -0
  650. data/vendor/github.com/zeromq/libzmq/src/udp_engine.hpp +73 -0
  651. data/vendor/github.com/zeromq/libzmq/src/v1_decoder.cpp +153 -0
  652. data/vendor/github.com/zeromq/libzmq/src/v1_decoder.hpp +69 -0
  653. data/vendor/github.com/zeromq/libzmq/src/v1_encoder.cpp +76 -0
  654. data/vendor/github.com/zeromq/libzmq/src/v1_encoder.hpp +59 -0
  655. data/vendor/github.com/zeromq/libzmq/src/v2_decoder.cpp +161 -0
  656. data/vendor/github.com/zeromq/libzmq/src/v2_decoder.hpp +74 -0
  657. data/vendor/github.com/zeromq/libzmq/src/v2_encoder.cpp +78 -0
  658. data/vendor/github.com/zeromq/libzmq/src/v2_encoder.hpp +59 -0
  659. data/vendor/github.com/zeromq/libzmq/src/v2_protocol.hpp +49 -0
  660. data/vendor/github.com/zeromq/libzmq/src/version.rc.in +93 -0
  661. data/vendor/github.com/zeromq/libzmq/src/vmci.cpp +88 -0
  662. data/vendor/github.com/zeromq/libzmq/src/vmci.hpp +60 -0
  663. data/vendor/github.com/zeromq/libzmq/src/vmci_address.cpp +170 -0
  664. data/vendor/github.com/zeromq/libzmq/src/vmci_address.hpp +71 -0
  665. data/vendor/github.com/zeromq/libzmq/src/vmci_connecter.cpp +307 -0
  666. data/vendor/github.com/zeromq/libzmq/src/vmci_connecter.hpp +136 -0
  667. data/vendor/github.com/zeromq/libzmq/src/vmci_listener.cpp +262 -0
  668. data/vendor/github.com/zeromq/libzmq/src/vmci_listener.hpp +102 -0
  669. data/vendor/github.com/zeromq/libzmq/src/windows.hpp +93 -0
  670. data/vendor/github.com/zeromq/libzmq/src/wire.hpp +108 -0
  671. data/vendor/github.com/zeromq/libzmq/src/xpub.cpp +340 -0
  672. data/vendor/github.com/zeromq/libzmq/src/xpub.hpp +126 -0
  673. data/vendor/github.com/zeromq/libzmq/src/xsub.cpp +251 -0
  674. data/vendor/github.com/zeromq/libzmq/src/xsub.hpp +103 -0
  675. data/vendor/github.com/zeromq/libzmq/src/ypipe.hpp +218 -0
  676. data/vendor/github.com/zeromq/libzmq/src/ypipe_base.hpp +54 -0
  677. data/vendor/github.com/zeromq/libzmq/src/ypipe_conflate.hpp +137 -0
  678. data/vendor/github.com/zeromq/libzmq/src/yqueue.hpp +225 -0
  679. data/vendor/github.com/zeromq/libzmq/src/zap_client.cpp +305 -0
  680. data/vendor/github.com/zeromq/libzmq/src/zap_client.hpp +100 -0
  681. data/vendor/github.com/zeromq/libzmq/src/zmq.cpp +1527 -0
  682. data/vendor/github.com/zeromq/libzmq/src/zmq_draft.h +178 -0
  683. data/vendor/github.com/zeromq/libzmq/src/zmq_utils.cpp +318 -0
  684. data/vendor/github.com/zeromq/libzmq/tests/CMakeLists.txt +218 -0
  685. data/vendor/github.com/zeromq/libzmq/tests/README.md +28 -0
  686. data/vendor/github.com/zeromq/libzmq/tests/test_abstract_ipc.cpp +67 -0
  687. data/vendor/github.com/zeromq/libzmq/tests/test_ancillaries.cpp +51 -0
  688. data/vendor/github.com/zeromq/libzmq/tests/test_atomics.cpp +48 -0
  689. data/vendor/github.com/zeromq/libzmq/tests/test_base85.cpp +162 -0
  690. data/vendor/github.com/zeromq/libzmq/tests/test_bind_after_connect_tcp.cpp +97 -0
  691. data/vendor/github.com/zeromq/libzmq/tests/test_bind_src_address.cpp +57 -0
  692. data/vendor/github.com/zeromq/libzmq/tests/test_capabilities.cpp +82 -0
  693. data/vendor/github.com/zeromq/libzmq/tests/test_client_server.cpp +106 -0
  694. data/vendor/github.com/zeromq/libzmq/tests/test_conflate.cpp +86 -0
  695. data/vendor/github.com/zeromq/libzmq/tests/test_connect_delay_tipc.cpp +238 -0
  696. data/vendor/github.com/zeromq/libzmq/tests/test_connect_resolve.cpp +70 -0
  697. data/vendor/github.com/zeromq/libzmq/tests/test_connect_rid.cpp +199 -0
  698. data/vendor/github.com/zeromq/libzmq/tests/test_ctx_destroy.cpp +110 -0
  699. data/vendor/github.com/zeromq/libzmq/tests/test_ctx_options.cpp +204 -0
  700. data/vendor/github.com/zeromq/libzmq/tests/test_dgram.cpp +99 -0
  701. data/vendor/github.com/zeromq/libzmq/tests/test_diffserv.cpp +85 -0
  702. data/vendor/github.com/zeromq/libzmq/tests/test_disconnect_inproc.cpp +136 -0
  703. data/vendor/github.com/zeromq/libzmq/tests/test_filter_ipc.cpp +166 -0
  704. data/vendor/github.com/zeromq/libzmq/tests/test_fork.cpp +99 -0
  705. data/vendor/github.com/zeromq/libzmq/tests/test_getsockopt_memset.cpp +64 -0
  706. data/vendor/github.com/zeromq/libzmq/tests/test_heartbeats.cpp +341 -0
  707. data/vendor/github.com/zeromq/libzmq/tests/test_hwm.cpp +312 -0
  708. data/vendor/github.com/zeromq/libzmq/tests/test_hwm_pubsub.cpp +253 -0
  709. data/vendor/github.com/zeromq/libzmq/tests/test_immediate.cpp +250 -0
  710. data/vendor/github.com/zeromq/libzmq/tests/test_inproc_connect.cpp +536 -0
  711. data/vendor/github.com/zeromq/libzmq/tests/test_invalid_rep.cpp +98 -0
  712. data/vendor/github.com/zeromq/libzmq/tests/test_iov.cpp +157 -0
  713. data/vendor/github.com/zeromq/libzmq/tests/test_ipc_wildcard.cpp +65 -0
  714. data/vendor/github.com/zeromq/libzmq/tests/test_issue_566.cpp +99 -0
  715. data/vendor/github.com/zeromq/libzmq/tests/test_last_endpoint.cpp +66 -0
  716. data/vendor/github.com/zeromq/libzmq/tests/test_many_sockets.cpp +100 -0
  717. data/vendor/github.com/zeromq/libzmq/tests/test_metadata.cpp +134 -0
  718. data/vendor/github.com/zeromq/libzmq/tests/test_monitor.cpp +116 -0
  719. data/vendor/github.com/zeromq/libzmq/tests/test_msg_ffn.cpp +145 -0
  720. data/vendor/github.com/zeromq/libzmq/tests/test_msg_flags.cpp +127 -0
  721. data/vendor/github.com/zeromq/libzmq/tests/test_pair_inproc.cpp +81 -0
  722. data/vendor/github.com/zeromq/libzmq/tests/test_pair_ipc.cpp +60 -0
  723. data/vendor/github.com/zeromq/libzmq/tests/test_pair_tcp.cpp +64 -0
  724. data/vendor/github.com/zeromq/libzmq/tests/test_pair_tipc.cpp +62 -0
  725. data/vendor/github.com/zeromq/libzmq/tests/test_pair_vmci.cpp +68 -0
  726. data/vendor/github.com/zeromq/libzmq/tests/test_poller.cpp +404 -0
  727. data/vendor/github.com/zeromq/libzmq/tests/test_probe_router.cpp +86 -0
  728. data/vendor/github.com/zeromq/libzmq/tests/test_proxy.cpp +486 -0
  729. data/vendor/github.com/zeromq/libzmq/tests/test_proxy_single_socket.cpp +121 -0
  730. data/vendor/github.com/zeromq/libzmq/tests/test_proxy_terminate.cpp +132 -0
  731. data/vendor/github.com/zeromq/libzmq/tests/test_pub_invert_matching.cpp +136 -0
  732. data/vendor/github.com/zeromq/libzmq/tests/test_radio_dish.cpp +191 -0
  733. data/vendor/github.com/zeromq/libzmq/tests/test_rebind_ipc.cpp +84 -0
  734. data/vendor/github.com/zeromq/libzmq/tests/test_reconnect_ivl.cpp +149 -0
  735. data/vendor/github.com/zeromq/libzmq/tests/test_req_correlate.cpp +140 -0
  736. data/vendor/github.com/zeromq/libzmq/tests/test_req_relaxed.cpp +220 -0
  737. data/vendor/github.com/zeromq/libzmq/tests/test_reqrep_device.cpp +153 -0
  738. data/vendor/github.com/zeromq/libzmq/tests/test_reqrep_device_tipc.cpp +146 -0
  739. data/vendor/github.com/zeromq/libzmq/tests/test_reqrep_inproc.cpp +60 -0
  740. data/vendor/github.com/zeromq/libzmq/tests/test_reqrep_ipc.cpp +112 -0
  741. data/vendor/github.com/zeromq/libzmq/tests/test_reqrep_tcp.cpp +336 -0
  742. data/vendor/github.com/zeromq/libzmq/tests/test_reqrep_tipc.cpp +61 -0
  743. data/vendor/github.com/zeromq/libzmq/tests/test_reqrep_vmci.cpp +68 -0
  744. data/vendor/github.com/zeromq/libzmq/tests/test_router_handover.cpp +116 -0
  745. data/vendor/github.com/zeromq/libzmq/tests/test_router_mandatory.cpp +292 -0
  746. data/vendor/github.com/zeromq/libzmq/tests/test_router_mandatory_hwm.cpp +129 -0
  747. data/vendor/github.com/zeromq/libzmq/tests/test_router_mandatory_tipc.cpp +70 -0
  748. data/vendor/github.com/zeromq/libzmq/tests/test_scatter_gather.cpp +84 -0
  749. data/vendor/github.com/zeromq/libzmq/tests/test_security_curve.cpp +792 -0
  750. data/vendor/github.com/zeromq/libzmq/tests/test_security_gssapi.cpp +362 -0
  751. data/vendor/github.com/zeromq/libzmq/tests/test_security_null.cpp +209 -0
  752. data/vendor/github.com/zeromq/libzmq/tests/test_security_plain.cpp +212 -0
  753. data/vendor/github.com/zeromq/libzmq/tests/test_security_zap.cpp +417 -0
  754. data/vendor/github.com/zeromq/libzmq/tests/test_setsockopt.cpp +153 -0
  755. data/vendor/github.com/zeromq/libzmq/tests/test_shutdown_stress.cpp +101 -0
  756. data/vendor/github.com/zeromq/libzmq/tests/test_shutdown_stress_tipc.cpp +95 -0
  757. data/vendor/github.com/zeromq/libzmq/tests/test_socket_null.cpp +82 -0
  758. data/vendor/github.com/zeromq/libzmq/tests/test_sockopt_hwm.cpp +190 -0
  759. data/vendor/github.com/zeromq/libzmq/tests/test_sodium.cpp +98 -0
  760. data/vendor/github.com/zeromq/libzmq/tests/test_spec_dealer.cpp +266 -0
  761. data/vendor/github.com/zeromq/libzmq/tests/test_spec_pushpull.cpp +304 -0
  762. data/vendor/github.com/zeromq/libzmq/tests/test_spec_rep.cpp +169 -0
  763. data/vendor/github.com/zeromq/libzmq/tests/test_spec_req.cpp +266 -0
  764. data/vendor/github.com/zeromq/libzmq/tests/test_spec_router.cpp +217 -0
  765. data/vendor/github.com/zeromq/libzmq/tests/test_srcfd.cpp +127 -0
  766. data/vendor/github.com/zeromq/libzmq/tests/test_stream.cpp +342 -0
  767. data/vendor/github.com/zeromq/libzmq/tests/test_stream_disconnect.cpp +295 -0
  768. data/vendor/github.com/zeromq/libzmq/tests/test_stream_empty.cpp +74 -0
  769. data/vendor/github.com/zeromq/libzmq/tests/test_stream_exceeds_buffer.cpp +124 -0
  770. data/vendor/github.com/zeromq/libzmq/tests/test_stream_timeout.cpp +235 -0
  771. data/vendor/github.com/zeromq/libzmq/tests/test_sub_forward.cpp +109 -0
  772. data/vendor/github.com/zeromq/libzmq/tests/test_sub_forward_tipc.cpp +102 -0
  773. data/vendor/github.com/zeromq/libzmq/tests/test_system.cpp +98 -0
  774. data/vendor/github.com/zeromq/libzmq/tests/test_term_endpoint.cpp +226 -0
  775. data/vendor/github.com/zeromq/libzmq/tests/test_term_endpoint_tipc.cpp +120 -0
  776. data/vendor/github.com/zeromq/libzmq/tests/test_thread_safe.cpp +90 -0
  777. data/vendor/github.com/zeromq/libzmq/tests/test_timeo.cpp +85 -0
  778. data/vendor/github.com/zeromq/libzmq/tests/test_timers.cpp +226 -0
  779. data/vendor/github.com/zeromq/libzmq/tests/test_udp.cpp +133 -0
  780. data/vendor/github.com/zeromq/libzmq/tests/test_unbind_inproc.cpp +43 -0
  781. data/vendor/github.com/zeromq/libzmq/tests/test_unbind_wildcard.cpp +216 -0
  782. data/vendor/github.com/zeromq/libzmq/tests/test_use_fd_ipc.cpp +223 -0
  783. data/vendor/github.com/zeromq/libzmq/tests/test_use_fd_tcp.cpp +238 -0
  784. data/vendor/github.com/zeromq/libzmq/tests/test_xpub_manual.cpp +597 -0
  785. data/vendor/github.com/zeromq/libzmq/tests/test_xpub_nodrop.cpp +118 -0
  786. data/vendor/github.com/zeromq/libzmq/tests/test_xpub_welcome_msg.cpp +81 -0
  787. data/vendor/github.com/zeromq/libzmq/tests/test_zmq_poll_fd.cpp +98 -0
  788. data/vendor/github.com/zeromq/libzmq/tests/testutil.hpp +408 -0
  789. data/vendor/github.com/zeromq/libzmq/tests/testutil_security.hpp +684 -0
  790. data/vendor/github.com/zeromq/libzmq/tools/curve_keygen.cpp +58 -0
  791. data/vendor/github.com/zeromq/libzmq/version.sh +21 -0
  792. metadata +875 -0
@@ -0,0 +1,121 @@
1
+ zmq_sendmsg(3)
2
+ ==============
3
+
4
+
5
+ NAME
6
+ ----
7
+ zmq_sendmsg - send a message part on a socket
8
+
9
+
10
+ SYNOPSIS
11
+ --------
12
+ *int zmq_sendmsg (void '*socket', zmq_msg_t '*msg', int 'flags');*
13
+
14
+
15
+ DESCRIPTION
16
+ -----------
17
+ The _zmq_sendmsg()_ function shall queue the message referenced by the 'msg'
18
+ argument to be sent to the socket referenced by the 'socket' argument. The
19
+ 'flags' argument is a combination of the flags defined below:
20
+
21
+ *ZMQ_DONTWAIT*::
22
+ For socket types (DEALER, PUSH) that block when there are no available peers
23
+ (or all peers have full high-water mark), specifies that the operation should
24
+ be performed in non-blocking mode. If the message cannot be queued on the
25
+ 'socket', the _zmq_sendmsg()_ function shall fail with 'errno' set to EAGAIN.
26
+
27
+ *ZMQ_SNDMORE*::
28
+ Specifies that the message being sent is a multi-part message, and that further
29
+ message parts are to follow. Refer to the section regarding multi-part messages
30
+ below for a detailed description.
31
+
32
+ The _zmq_msg_t_ structure passed to _zmq_sendmsg()_ is nullified during the
33
+ call. If you want to send the same message to multiple sockets you have to copy
34
+ it (e.g. using _zmq_msg_copy()_).
35
+
36
+ NOTE: A successful invocation of _zmq_sendmsg()_ does not indicate that the
37
+ message has been transmitted to the network, only that it has been queued on
38
+ the 'socket' and 0MQ has assumed responsibility for the message.
39
+
40
+ NOTE: this API method is deprecated in favor of zmq_msg_send(3).
41
+
42
+ Multi-part messages
43
+ ~~~~~~~~~~~~~~~~~~~
44
+ A 0MQ message is composed of 1 or more message parts. Each message
45
+ part is an independent 'zmq_msg_t' in its own right. 0MQ ensures atomic
46
+ delivery of messages: peers shall receive either all _message parts_ of a
47
+ message or none at all. The total number of message parts is unlimited except
48
+ by available memory.
49
+
50
+ An application that sends multi-part messages must use the _ZMQ_SNDMORE_ flag
51
+ when sending each message part except the final one.
52
+
53
+ RETURN VALUE
54
+ ------------
55
+ The _zmq_sendmsg()_ function shall return number of bytes in the message
56
+ if successful. Otherwise it shall return `-1` and set 'errno' to one of the
57
+ values defined below.
58
+
59
+
60
+ ERRORS
61
+ ------
62
+ *EAGAIN*::
63
+ Non-blocking mode was requested and the message cannot be sent at the moment.
64
+ *ENOTSUP*::
65
+ The _zmq_sendmsg()_ operation is not supported by this socket type.
66
+ *EINVAL*::
67
+ The sender tried to send multipart data, which the socket type does not allow.
68
+ *EFSM*::
69
+ The _zmq_sendmsg()_ operation cannot be performed on this socket at the moment
70
+ due to the socket not being in the appropriate state. This error may occur with
71
+ socket types that switch between several states, such as ZMQ_REP. See the
72
+ _messaging patterns_ section of linkzmq:zmq_socket[3] for more information.
73
+ *ETERM*::
74
+ The 0MQ 'context' associated with the specified 'socket' was terminated.
75
+ *ENOTSOCK*::
76
+ The provided 'socket' was invalid.
77
+ *EINTR*::
78
+ The operation was interrupted by delivery of a signal before the message was
79
+ sent.
80
+ *EFAULT*::
81
+ Invalid message.
82
+ *EHOSTUNREACH*::
83
+ The message cannot be routed.
84
+
85
+
86
+ EXAMPLE
87
+ -------
88
+ .Filling in a message and sending it to a socket
89
+ ----
90
+ /* Create a new message, allocating 6 bytes for message content */
91
+ zmq_msg_t msg;
92
+ int rc = zmq_msg_init_size (&msg, 6);
93
+ assert (rc == 0);
94
+ /* Fill in message content with 'AAAAAA' */
95
+ memset (zmq_msg_data (&msg), 'A', 6);
96
+ /* Send the message to the socket */
97
+ rc = zmq_sendmsg (socket, &msg, 0);
98
+ assert (rc == 6);
99
+ ----
100
+
101
+ .Sending a multi-part message
102
+ ----
103
+ /* Send a multi-part message consisting of three parts to socket */
104
+ rc = zmq_sendmsg (socket, &part1, ZMQ_SNDMORE);
105
+ rc = zmq_sendmsg (socket, &part2, ZMQ_SNDMORE);
106
+ /* Final part; no more parts to follow */
107
+ rc = zmq_sendmsg (socket, &part3, 0);
108
+ ----
109
+
110
+
111
+ SEE ALSO
112
+ --------
113
+ linkzmq:zmq_recv[3]
114
+ linkzmq:zmq_socket[7]
115
+ linkzmq:zmq[7]
116
+
117
+
118
+ AUTHORS
119
+ -------
120
+ This page was written by the 0MQ community. To make a change please
121
+ read the 0MQ Contribution Policy at <http://www.zeromq.org/docs:contributing>.
@@ -0,0 +1,1318 @@
1
+ zmq_setsockopt(3)
2
+ =================
3
+
4
+
5
+ NAME
6
+ ----
7
+
8
+ zmq_setsockopt - set 0MQ socket options
9
+
10
+
11
+ SYNOPSIS
12
+ --------
13
+ *int zmq_setsockopt (void '*socket', int 'option_name', const void '*option_value', size_t 'option_len');*
14
+
15
+ Caution: All options, with the exception of ZMQ_SUBSCRIBE, ZMQ_UNSUBSCRIBE,
16
+ ZMQ_LINGER, ZMQ_ROUTER_HANDOVER, ZMQ_ROUTER_MANDATORY, ZMQ_PROBE_ROUTER,
17
+ ZMQ_XPUB_VERBOSE, ZMQ_XPUB_VERBOSER, ZMQ_REQ_CORRELATE,
18
+ ZMQ_REQ_RELAXED, ZMQ_SNDHWM and ZMQ_RCVHWM, only take effect for
19
+ subsequent socket bind/connects.
20
+
21
+ Specifically, security options take effect for subsequent bind/connect calls,
22
+ and can be changed at any time to affect subsequent binds and/or connects.
23
+
24
+ DESCRIPTION
25
+ -----------
26
+ The _zmq_setsockopt()_ function shall set the option specified by the
27
+ 'option_name' argument to the value pointed to by the 'option_value' argument
28
+ for the 0MQ socket pointed to by the 'socket' argument. The 'option_len'
29
+ argument is the size of the option value in bytes. For options taking a value of
30
+ type "character string", the provided byte data should either contain no zero
31
+ bytes, or end in a single zero byte (terminating ASCII NUL character).
32
+
33
+ The following socket options can be set with the _zmq_setsockopt()_ function:
34
+
35
+
36
+ ZMQ_AFFINITY: Set I/O thread affinity
37
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
38
+ The 'ZMQ_AFFINITY' option shall set the I/O thread affinity for newly created
39
+ connections on the specified 'socket'.
40
+
41
+ Affinity determines which threads from the 0MQ I/O thread pool associated with
42
+ the socket's _context_ shall handle newly created connections. A value of zero
43
+ specifies no affinity, meaning that work shall be distributed fairly among all
44
+ 0MQ I/O threads in the thread pool. For non-zero values, the lowest bit
45
+ corresponds to thread 1, second lowest bit to thread 2 and so on. For example,
46
+ a value of 3 specifies that subsequent connections on 'socket' shall be handled
47
+ exclusively by I/O threads 1 and 2.
48
+
49
+ See also linkzmq:zmq_init[3] for details on allocating the number of I/O
50
+ threads for a specific _context_.
51
+
52
+ [horizontal]
53
+ Option value type:: uint64_t
54
+ Option value unit:: N/A (bitmap)
55
+ Default value:: 0
56
+ Applicable socket types:: N/A
57
+
58
+
59
+ ZMQ_BACKLOG: Set maximum length of the queue of outstanding connections
60
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
61
+ The 'ZMQ_BACKLOG' option shall set the maximum length of the queue of
62
+ outstanding peer connections for the specified 'socket'; this only applies to
63
+ connection-oriented transports. For details refer to your operating system
64
+ documentation for the 'listen' function.
65
+
66
+ [horizontal]
67
+ Option value type:: int
68
+ Option value unit:: connections
69
+ Default value:: 100
70
+ Applicable socket types:: all, only for connection-oriented transports.
71
+
72
+
73
+ ZMQ_BINDTODEVICE: Set name of device to bind the socket to
74
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
75
+ The 'ZMQ_BINDTODEVICE' option binds this socket to a particular device, eg.
76
+ an interface or VRF. If a socket is bound to an interface, only packets
77
+ received from that particular interface are processed by the socket. If device
78
+ is a VRF device, then subsequent binds/connects to that socket use addresses
79
+ in the VRF routing table.
80
+
81
+ NOTE: requires setting CAP_NET_RAW on the compiled program.
82
+ NOTE: in DRAFT state, not yet available in stable releases.
83
+
84
+ [horizontal]
85
+ Option value type:: character string
86
+ Option value unit:: N/A
87
+ Default value:: not set
88
+ Applicable socket types:: all, when using TCP or UDP transports.
89
+
90
+
91
+ ZMQ_CONNECT_RID: Assign the next outbound connection id
92
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
93
+ This option name is now deprecated. Use ZMQ_CONNECT_ROUTING_ID instead.
94
+ ZMQ_CONNECT_RID remains as an alias for now.
95
+
96
+
97
+ ZMQ_CONNECT_ROUTING_ID: Assign the next outbound routing id
98
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
99
+ The 'ZMQ_CONNECT_ROUTING_ID' option sets the peer id of the peer connected
100
+ via the next zmq_connect() call, such that that connection is immediately ready for
101
+ data transfer with the given routing id. This option applies only to the first
102
+ subsequent call to zmq_connect(), zmq_connect() calls thereafter use the default
103
+ connection behaviour.
104
+
105
+ Typical use is to set this socket option ahead of each zmq_connect() call.
106
+ Each connection MUST be assigned a unique routing id. Assigning a
107
+ routing id that is already in use is not allowed.
108
+
109
+ Useful when connecting ROUTER to ROUTER, or STREAM to STREAM, as it
110
+ allows for immediate sending to peers. Outbound routing id framing requirements
111
+ for ROUTER and STREAM sockets apply.
112
+
113
+ The routing id must be from 1 to 255 bytes long and MAY NOT start with
114
+ a zero byte (such routing ids are reserved for internal use by the 0MQ
115
+ infrastructure).
116
+
117
+ [horizontal]
118
+ Option value type:: binary data
119
+ Option value unit:: N/A
120
+ Default value:: NULL
121
+ Applicable socket types:: ZMQ_ROUTER, ZMQ_STREAM
122
+
123
+
124
+ ZMQ_CONFLATE: Keep only last message
125
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
126
+ If set, a socket shall keep only one message in its inbound/outbound
127
+ queue, this message being the last message received/the last message
128
+ to be sent. Ignores 'ZMQ_RCVHWM' and 'ZMQ_SNDHWM' options. Does not
129
+ support multi-part messages, in particular, only one part of it is kept
130
+ in the socket internal queue.
131
+
132
+ [horizontal]
133
+ Option value type:: int
134
+ Option value unit:: boolean
135
+ Default value:: 0 (false)
136
+ Applicable socket types:: ZMQ_PULL, ZMQ_PUSH, ZMQ_SUB, ZMQ_PUB, ZMQ_DEALER
137
+
138
+
139
+ ZMQ_CONNECT_TIMEOUT: Set connect() timeout
140
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
141
+ Sets how long to wait before timing-out a connect() system call.
142
+ The connect() system call normally takes a long time before it returns a
143
+ time out error. Setting this option allows the library to time out the call
144
+ at an earlier interval.
145
+
146
+ [horizontal]
147
+ Option value type:: int
148
+ Option value unit:: milliseconds
149
+ Default value:: 0 (disabled)
150
+ Applicable socket types:: all, when using TCP transports.
151
+
152
+
153
+ ZMQ_CURVE_PUBLICKEY: Set CURVE public key
154
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
155
+ Sets the socket's long term public key. You must set this on CURVE client
156
+ sockets, see linkzmq:zmq_curve[7]. You can provide the key as 32 binary
157
+ bytes, or as a 40-character string encoded in the Z85 encoding format and
158
+ terminated in a null byte. The public key must always be used with the
159
+ matching secret key. To generate a public/secret key pair, use
160
+ linkzmq:zmq_curve_keypair[3]. To derive the public key from a secret key,
161
+ use linkzmq:zmq_curve_public[3].
162
+
163
+ NOTE: an option value size of 40 is supported for backwards compatibility,
164
+ though is deprecated.
165
+
166
+ [horizontal]
167
+ Option value type:: binary data or Z85 text string
168
+ Option value size:: 32 or 41
169
+ Default value:: NULL
170
+ Applicable socket types:: all, when using TCP transport
171
+
172
+
173
+ ZMQ_CURVE_SECRETKEY: Set CURVE secret key
174
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
175
+ Sets the socket's long term secret key. You must set this on both CURVE
176
+ client and server sockets, see linkzmq:zmq_curve[7]. You can provide the
177
+ key as 32 binary bytes, or as a 40-character string encoded in the Z85
178
+ encoding format and terminated in a null byte. To generate a public/secret
179
+ key pair, use linkzmq:zmq_curve_keypair[3]. To derive the public key from
180
+ a secret key, use linkzmq:zmq_curve_public[3].
181
+
182
+ NOTE: an option value size of 40 is supported for backwards compatibility,
183
+ though is deprecated.
184
+
185
+ [horizontal]
186
+ Option value type:: binary data or Z85 text string
187
+ Option value size:: 32 or 41
188
+ Default value:: NULL
189
+ Applicable socket types:: all, when using TCP transport
190
+
191
+
192
+ ZMQ_CURVE_SERVER: Set CURVE server role
193
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
194
+ Defines whether the socket will act as server for CURVE security, see
195
+ linkzmq:zmq_curve[7]. A value of '1' means the socket will act as
196
+ CURVE server. A value of '0' means the socket will not act as CURVE
197
+ server, and its security role then depends on other option settings.
198
+ Setting this to '0' shall reset the socket security to NULL. When you
199
+ set this you must also set the server's secret key using the
200
+ ZMQ_CURVE_SECRETKEY option. A server socket does not need to know
201
+ its own public key.
202
+
203
+ [horizontal]
204
+ Option value type:: int
205
+ Option value unit:: 0, 1
206
+ Default value:: 0
207
+ Applicable socket types:: all, when using TCP transport
208
+
209
+
210
+ ZMQ_CURVE_SERVERKEY: Set CURVE server key
211
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
212
+ Sets the socket's long term server key. You must set this on CURVE client
213
+ sockets, see linkzmq:zmq_curve[7]. You can provide the key as 32 binary
214
+ bytes, or as a 40-character string encoded in the Z85 encoding format and
215
+ terminated in a null byte. This key must have been generated together with
216
+ the server's secret key. To generate a public/secret key pair, use
217
+ linkzmq:zmq_curve_keypair[3].
218
+
219
+ NOTE: an option value size of 40 is supported for backwards compatibility,
220
+ though is deprecated.
221
+
222
+ [horizontal]
223
+ Option value type:: binary data or Z85 text string
224
+ Option value size:: 32 or 41
225
+ Default value:: NULL
226
+ Applicable socket types:: all, when using TCP transport
227
+
228
+
229
+ ZMQ_GSSAPI_PLAINTEXT: Disable GSSAPI encryption
230
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
231
+ Defines whether communications on the socket will be encrypted, see
232
+ linkzmq:zmq_gssapi[7]. A value of '1' means that communications will be
233
+ plaintext. A value of '0' means communications will be encrypted.
234
+
235
+ [horizontal]
236
+ Option value type:: int
237
+ Option value unit:: 0, 1
238
+ Default value:: 0 (false)
239
+ Applicable socket types:: all, when using TCP transport
240
+
241
+
242
+ ZMQ_GSSAPI_PRINCIPAL: Set name of GSSAPI principal
243
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
244
+ Sets the name of the principal for whom GSSAPI credentials should be acquired.
245
+
246
+ [horizontal]
247
+ Option value type:: character string
248
+ Option value unit:: N/A
249
+ Default value:: not set
250
+ Applicable socket types:: all, when using TCP transport
251
+
252
+
253
+ ZMQ_GSSAPI_SERVER: Set GSSAPI server role
254
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
255
+ Defines whether the socket will act as server for GSSAPI security, see
256
+ linkzmq:zmq_gssapi[7]. A value of '1' means the socket will act as GSSAPI
257
+ server. A value of '0' means the socket will act as GSSAPI client.
258
+
259
+ [horizontal]
260
+ Option value type:: int
261
+ Option value unit:: 0, 1
262
+ Default value:: 0 (false)
263
+ Applicable socket types:: all, when using TCP transport
264
+
265
+
266
+ ZMQ_GSSAPI_SERVICE_PRINCIPAL: Set name of GSSAPI service principal
267
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
268
+ Sets the name of the principal of the GSSAPI server to which a GSSAPI client
269
+ intends to connect.
270
+
271
+ [horizontal]
272
+ Option value type:: character string
273
+ Option value unit:: N/A
274
+ Default value:: not set
275
+ Applicable socket types:: all, when using TCP transport
276
+
277
+ ZMQ_GSSAPI_SERVICE_PRINCIPAL_NAMETYPE: Set name type of service principal
278
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
279
+ Sets the name type of the GSSAPI service principal. A value of
280
+ 'ZMQ_GSSAPI_NT_HOSTBASED' (0) means the name specified with
281
+ 'ZMQ_GSSAPI_SERVICE_PRINCIPAL' is interpreted as a host based name. A value
282
+ of 'ZMQ_GSSAPI_NT_USER_NAME' (1) means it is interpreted as a local user name.
283
+ A value of 'ZMQ_GSSAPI_NT_KRB5_PRINCIPAL' (2) means it is interpreted as an
284
+ unparsed principal name string (valid only with the krb5 GSSAPI mechanism).
285
+
286
+ NOTE: in DRAFT state, not yet available in stable releases.
287
+
288
+ [horizontal]
289
+ Option value type:: int
290
+ Option value unit:: 0, 1, 2
291
+ Default value:: 0 (ZMQ_GSSAPI_NT_HOSTBASED)
292
+ Applicable socket types:: all, when using TCP or IPC transport
293
+
294
+ ZMQ_GSSAPI_PRINCIPAL_NAMETYPE: Set name type of principal
295
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
296
+ Sets the name type of the GSSAPI principal. A value of
297
+ 'ZMQ_GSSAPI_NT_HOSTBASED' (0) means the name specified with
298
+ 'ZMQ_GSSAPI_PRINCIPAL' is interpreted as a host based name. A value of
299
+ 'ZMQ_GSSAPI_NT_USER_NAME' (1) means it is interpreted as a local user name.
300
+ A value of 'ZMQ_GSSAPI_NT_KRB5_PRINCIPAL' (2) means it is interpreted as an
301
+ unparsed principal name string (valid only with the krb5 GSSAPI mechanism).
302
+
303
+ NOTE: in DRAFT state, not yet available in stable releases.
304
+
305
+ [horizontal]
306
+ Option value type:: int
307
+ Option value unit:: 0, 1, 2
308
+ Default value:: 0 (ZMQ_GSSAPI_NT_HOSTBASED)
309
+ Applicable socket types:: all, when using TCP or IPC transport
310
+
311
+ ZMQ_HANDSHAKE_IVL: Set maximum handshake interval
312
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
313
+ The 'ZMQ_HANDSHAKE_IVL' option shall set the maximum handshake interval for
314
+ the specified 'socket'. Handshaking is the exchange of socket configuration
315
+ information (socket type, routing id, security) that occurs when a connection
316
+ is first opened, only for connection-oriented transports. If handshaking does
317
+ not complete within the configured time, the connection shall be closed.
318
+ The value 0 means no handshake time limit.
319
+
320
+ [horizontal]
321
+ Option value type:: int
322
+ Option value unit:: milliseconds
323
+ Default value:: 30000
324
+ Applicable socket types:: all but ZMQ_STREAM, only for connection-oriented transports
325
+
326
+
327
+ ZMQ_HEARTBEAT_IVL: Set interval between sending ZMTP heartbeats
328
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
329
+ The 'ZMQ_HEARTBEAT_IVL' option shall set the interval between sending ZMTP heartbeats
330
+ for the specified 'socket'. If this option is set and is greater than 0, then a 'PING'
331
+ ZMTP command will be sent every 'ZMQ_HEARTBEAT_IVL' milliseconds.
332
+
333
+ [horizontal]
334
+ Option value type:: int
335
+ Option value unit:: milliseconds
336
+ Default value:: 0
337
+ Applicable socket types:: all, when using connection-oriented transports
338
+
339
+
340
+ ZMQ_HEARTBEAT_TIMEOUT: Set timeout for ZMTP heartbeats
341
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
342
+ The 'ZMQ_HEARTBEAT_TIMEOUT' option shall set how long to wait before timing-out a
343
+ connection after sending a 'PING' ZMTP command and not receiving any traffic. This
344
+ option is only valid if 'ZMQ_HEARTBEAT_IVL' is also set, and is greater than 0. The
345
+ connection will time out if there is no traffic received after sending the 'PING'
346
+ command, but the received traffic does not have to be a 'PONG' command - any received
347
+ traffic will cancel the timeout.
348
+
349
+ [horizontal]
350
+ Option value type:: int
351
+ Option value unit:: milliseconds
352
+ Default value:: 0
353
+ Applicable socket types:: all, when using connection-oriented transports
354
+
355
+
356
+ ZMQ_HEARTBEAT_TTL: Set the TTL value for ZMTP heartbeats
357
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
358
+ The 'ZMQ_HEARTBEAT_TTL' option shall set the timeout on the remote peer for ZMTP
359
+ heartbeats. If this option is greater than 0, the remote side shall time out the
360
+ connection if it does not receive any more traffic within the TTL period. This option
361
+ does not have any effect if 'ZMQ_HEARTBEAT_IVL' is not set or is 0. Internally, this
362
+ value is rounded down to the nearest decisecond, any value less than 100 will have
363
+ no effect.
364
+
365
+ [horizontal]
366
+ Option value type:: int
367
+ Option value unit:: milliseconds
368
+ Default value:: 0
369
+ Applicable socket types:: all, when using connection-oriented transports
370
+
371
+
372
+ ZMQ_IDENTITY: Set socket identity
373
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
374
+ This option name is now deprecated. Use ZMQ_ROUTING_ID instead.
375
+ ZMQ_IDENTITY remains as an alias for now.
376
+
377
+
378
+ ZMQ_IMMEDIATE: Queue messages only to completed connections
379
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
380
+ By default queues will fill on outgoing connections even if the connection has
381
+ not completed. This can lead to "lost" messages on sockets with round-robin
382
+ routing (REQ, PUSH, DEALER). If this option is set to `1`, messages shall be
383
+ queued only to completed connections. This will cause the socket to block if
384
+ there are no other connections, but will prevent queues from filling on pipes
385
+ awaiting connection.
386
+
387
+ [horizontal]
388
+ Option value type:: int
389
+ Option value unit:: boolean
390
+ Default value:: 0 (false)
391
+ Applicable socket types:: all, only for connection-oriented transports.
392
+
393
+
394
+ ZMQ_INVERT_MATCHING: Invert message filtering
395
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
396
+ Reverses the filtering behavior of PUB-SUB sockets, when set to 1.
397
+
398
+ On 'PUB' and 'XPUB' sockets, this causes messages to be sent to all
399
+ connected sockets 'except' those subscribed to a prefix that matches
400
+ the message. On 'SUB' sockets, this causes only incoming messages that
401
+ do 'not' match any of the socket's subscriptions to be received by the user.
402
+
403
+ Whenever 'ZMQ_INVERT_MATCHING' is set to 1 on a 'PUB' socket, all 'SUB'
404
+ sockets connecting to it must also have the option set to 1. Failure to
405
+ do so will have the 'SUB' sockets reject everything the 'PUB' socket sends
406
+ them. 'XSUB' sockets do not need to do this because they do not filter
407
+ incoming messages.
408
+
409
+ [horizontal]
410
+ Option value type:: int
411
+ Option value unit:: 0,1
412
+ Default value:: 0
413
+ Applicable socket types:: ZMQ_PUB, ZMQ_XPUB, ZMQ_SUB
414
+
415
+
416
+ ZMQ_IPV6: Enable IPv6 on socket
417
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
418
+ Set the IPv6 option for the socket. A value of `1` means IPv6 is
419
+ enabled on the socket, while `0` means the socket will use only IPv4.
420
+ When IPv6 is enabled the socket will connect to, or accept connections
421
+ from, both IPv4 and IPv6 hosts.
422
+
423
+ [horizontal]
424
+ Option value type:: int
425
+ Option value unit:: boolean
426
+ Default value:: 0 (false)
427
+ Applicable socket types:: all, when using TCP transports.
428
+
429
+
430
+ ZMQ_LINGER: Set linger period for socket shutdown
431
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
432
+ The 'ZMQ_LINGER' option shall set the linger period for the specified 'socket'.
433
+ The linger period determines how long pending messages which have yet to be
434
+ sent to a peer shall linger in memory after a socket is disconnected with
435
+ linkzmq:zmq_disconnect[3] or closed with linkzmq:zmq_close[3], and further
436
+ affects the termination of the socket's context with linkzmq:zmq_ctx_term[3].
437
+ The following outlines the different behaviours:
438
+
439
+ * A value of '-1' specifies an infinite linger period. Pending
440
+ messages shall not be discarded after a call to _zmq_disconnect()_ or
441
+ _zmq_close()_; attempting to terminate the socket's context with _zmq_ctx_term()_
442
+ shall block until all pending messages have been sent to a peer.
443
+
444
+ * The value of '0' specifies no linger period. Pending messages shall be
445
+ discarded immediately after a call to _zmq_disconnect()_ or _zmq_close()_.
446
+
447
+ * Positive values specify an upper bound for the linger period in milliseconds.
448
+ Pending messages shall not be discarded after a call to _zmq_disconnect()_ or
449
+ _zmq_close()_; attempting to terminate the socket's context with _zmq_ctx_term()_
450
+ shall block until either all pending messages have been sent to a peer, or the
451
+ linger period expires, after which any pending messages shall be discarded.
452
+
453
+ [horizontal]
454
+ Option value type:: int
455
+ Option value unit:: milliseconds
456
+ Default value:: -1 (infinite)
457
+ Applicable socket types:: all
458
+
459
+
460
+ ZMQ_MAXMSGSIZE: Maximum acceptable inbound message size
461
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
462
+ Limits the size of the inbound message. If a peer sends a message larger than
463
+ ZMQ_MAXMSGSIZE it is disconnected. Value of -1 means 'no limit'.
464
+
465
+ [horizontal]
466
+ Option value type:: int64_t
467
+ Option value unit:: bytes
468
+ Default value:: -1
469
+ Applicable socket types:: all
470
+
471
+
472
+ ZMQ_MULTICAST_HOPS: Maximum network hops for multicast packets
473
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
474
+ Sets the time-to-live field in every multicast packet sent from this socket.
475
+ The default is 1 which means that the multicast packets don't leave the local
476
+ network.
477
+
478
+ [horizontal]
479
+ Option value type:: int
480
+ Option value unit:: network hops
481
+ Default value:: 1
482
+ Applicable socket types:: all, when using multicast transports
483
+
484
+
485
+ ZMQ_MULTICAST_MAXTPDU: Maximum transport data unit size for multicast packets
486
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
487
+ Sets the maximum transport data unit size used for outbound multicast
488
+ packets.
489
+
490
+ This must be set at or below the minimum Maximum Transmission Unit (MTU) for
491
+ all network paths over which multicast reception is required.
492
+
493
+ [horizontal]
494
+ Option value type:: int
495
+ Option value unit:: bytes
496
+ Default value:: 1500
497
+ Applicable socket types:: all, when using multicast transports
498
+
499
+
500
+ ZMQ_PLAIN_PASSWORD: Set PLAIN security password
501
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
502
+ Sets the password for outgoing connections over TCP or IPC. If you set this
503
+ to a non-null value, the security mechanism used for connections shall be
504
+ PLAIN, see linkzmq:zmq_plain[7]. If you set this to a null value, the security
505
+ mechanism used for connections shall be NULL, see linkzmq:zmq_null[3].
506
+
507
+ [horizontal]
508
+ Option value type:: character string
509
+ Option value unit:: N/A
510
+ Default value:: not set
511
+ Applicable socket types:: all, when using TCP transport
512
+
513
+
514
+ ZMQ_PLAIN_SERVER: Set PLAIN server role
515
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
516
+ Defines whether the socket will act as server for PLAIN security, see
517
+ linkzmq:zmq_plain[7]. A value of '1' means the socket will act as
518
+ PLAIN server. A value of '0' means the socket will not act as PLAIN
519
+ server, and its security role then depends on other option settings.
520
+ Setting this to '0' shall reset the socket security to NULL.
521
+
522
+ [horizontal]
523
+ Option value type:: int
524
+ Option value unit:: 0, 1
525
+ Default value:: 0
526
+ Applicable socket types:: all, when using TCP transport
527
+
528
+
529
+ ZMQ_PLAIN_USERNAME: Set PLAIN security username
530
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
531
+ Sets the username for outgoing connections over TCP or IPC. If you set this
532
+ to a non-null value, the security mechanism used for connections shall be
533
+ PLAIN, see linkzmq:zmq_plain[7]. If you set this to a null value, the security
534
+ mechanism used for connections shall be NULL, see linkzmq:zmq_null[3].
535
+
536
+ [horizontal]
537
+ Option value type:: character string
538
+ Option value unit:: N/A
539
+ Default value:: not set
540
+ Applicable socket types:: all, when using TCP transport
541
+
542
+
543
+ ZMQ_USE_FD: Set the pre-allocated socket file descriptor
544
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
545
+ When set to a positive integer value before zmq_bind is called on the socket,
546
+ the socket shall use the corresponding file descriptor for connections over
547
+ TCP or IPC instead of allocating a new file descriptor.
548
+ Useful for writing systemd socket activated services. If set to -1 (default),
549
+ a new file descriptor will be allocated instead (default behaviour).
550
+
551
+ NOTE: if set after calling zmq_bind, this option shall have no effect.
552
+ NOTE: the file descriptor passed through MUST have been ran through the "bind"
553
+ and "listen" system calls beforehand. Also, socket option that would
554
+ normally be passed through zmq_setsockopt like TCP buffers length,
555
+ IP_TOS or SO_REUSEADDR MUST be set beforehand by the caller, as they
556
+ must be set before the socket is bound.
557
+
558
+ [horizontal]
559
+ Option value type:: int
560
+ Option value unit:: file descriptor
561
+ Default value:: -1
562
+ Applicable socket types:: all bound sockets, when using IPC or TCP transport
563
+
564
+
565
+ ZMQ_PROBE_ROUTER: bootstrap connections to ROUTER sockets
566
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
567
+ When set to 1, the socket will automatically send an empty message when a
568
+ new connection is made or accepted. You may set this on REQ, DEALER, or
569
+ ROUTER sockets connected to a ROUTER socket. The application must filter
570
+ such empty messages. The ZMQ_PROBE_ROUTER option in effect provides the
571
+ ROUTER application with an event signaling the arrival of a new peer.
572
+
573
+ NOTE: do not set this option on a socket that talks to any other socket
574
+ types: the results are undefined.
575
+
576
+ [horizontal]
577
+ Option value type:: int
578
+ Option value unit:: 0, 1
579
+ Default value:: 0
580
+ Applicable socket types:: ZMQ_ROUTER, ZMQ_DEALER, ZMQ_REQ
581
+
582
+
583
+ ZMQ_RATE: Set multicast data rate
584
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
585
+ The 'ZMQ_RATE' option shall set the maximum send or receive data rate for
586
+ multicast transports such as linkzmq:zmq_pgm[7] using the specified 'socket'.
587
+
588
+ [horizontal]
589
+ Option value type:: int
590
+ Option value unit:: kilobits per second
591
+ Default value:: 100
592
+ Applicable socket types:: all, when using multicast transports
593
+
594
+
595
+ ZMQ_RCVBUF: Set kernel receive buffer size
596
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
597
+ The 'ZMQ_RCVBUF' option shall set the underlying kernel receive buffer size for
598
+ the 'socket' to the specified size in bytes. A value of -1 means leave the
599
+ OS default unchanged. For details refer to your operating system documentation
600
+ for the 'SO_RCVBUF' socket option.
601
+
602
+ [horizontal]
603
+ Option value type:: int
604
+ Option value unit:: bytes
605
+ Default value:: -1
606
+ Applicable socket types:: all
607
+
608
+
609
+ ZMQ_RCVHWM: Set high water mark for inbound messages
610
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
611
+ The 'ZMQ_RCVHWM' option shall set the high water mark for inbound messages on
612
+ the specified 'socket'. The high water mark is a hard limit on the maximum
613
+ number of outstanding messages 0MQ shall queue in memory for any single peer
614
+ that the specified 'socket' is communicating with. A value of zero means no
615
+ limit.
616
+
617
+ If this limit has been reached the socket shall enter an exceptional state and
618
+ depending on the socket type, 0MQ shall take appropriate action such as
619
+ blocking or dropping sent messages. Refer to the individual socket descriptions
620
+ in linkzmq:zmq_socket[3] for details on the exact action taken for each socket
621
+ type.
622
+
623
+ [horizontal]
624
+ Option value type:: int
625
+ Option value unit:: messages
626
+ Default value:: 1000
627
+ Applicable socket types:: all
628
+
629
+
630
+ ZMQ_RCVTIMEO: Maximum time before a recv operation returns with EAGAIN
631
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
632
+ Sets the timeout for receive operation on the socket. If the value is `0`,
633
+ _zmq_recv(3)_ will return immediately, with a EAGAIN error if there is no
634
+ message to receive. If the value is `-1`, it will block until a message is
635
+ available. For all other values, it will wait for a message for that amount
636
+ of time before returning with an EAGAIN error.
637
+
638
+ [horizontal]
639
+ Option value type:: int
640
+ Option value unit:: milliseconds
641
+ Default value:: -1 (infinite)
642
+ Applicable socket types:: all
643
+
644
+
645
+ ZMQ_RECONNECT_IVL: Set reconnection interval
646
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
647
+ The 'ZMQ_RECONNECT_IVL' option shall set the initial reconnection interval for
648
+ the specified 'socket'. The reconnection interval is the period 0MQ
649
+ shall wait between attempts to reconnect disconnected peers when using
650
+ connection-oriented transports. The value -1 means no reconnection.
651
+
652
+ NOTE: The reconnection interval may be randomized by 0MQ to prevent
653
+ reconnection storms in topologies with a large number of peers per socket.
654
+
655
+ [horizontal]
656
+ Option value type:: int
657
+ Option value unit:: milliseconds
658
+ Default value:: 100
659
+ Applicable socket types:: all, only for connection-oriented transports
660
+
661
+
662
+ ZMQ_RECONNECT_IVL_MAX: Set maximum reconnection interval
663
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
664
+ The 'ZMQ_RECONNECT_IVL_MAX' option shall set the maximum reconnection interval
665
+ for the specified 'socket'. This is the maximum period 0MQ shall wait between
666
+ attempts to reconnect. On each reconnect attempt, the previous interval shall be
667
+ doubled untill ZMQ_RECONNECT_IVL_MAX is reached. This allows for exponential
668
+ backoff strategy. Default value means no exponential backoff is performed and
669
+ reconnect interval calculations are only based on ZMQ_RECONNECT_IVL.
670
+
671
+ NOTE: Values less than ZMQ_RECONNECT_IVL will be ignored.
672
+
673
+ [horizontal]
674
+ Option value type:: int
675
+ Option value unit:: milliseconds
676
+ Default value:: 0 (only use ZMQ_RECONNECT_IVL)
677
+ Applicable socket types:: all, only for connection-oriented transports
678
+
679
+
680
+ ZMQ_RECOVERY_IVL: Set multicast recovery interval
681
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
682
+ The 'ZMQ_RECOVERY_IVL' option shall set the recovery interval for multicast
683
+ transports using the specified 'socket'. The recovery interval determines the
684
+ maximum time in milliseconds that a receiver can be absent from a multicast
685
+ group before unrecoverable data loss will occur.
686
+
687
+ CAUTION: Exercise care when setting large recovery intervals as the data
688
+ needed for recovery will be held in memory. For example, a 1 minute recovery
689
+ interval at a data rate of 1Gbps requires a 7GB in-memory buffer.
690
+
691
+ [horizontal]
692
+ Option value type:: int
693
+ Option value unit:: milliseconds
694
+ Default value:: 10000
695
+ Applicable socket types:: all, when using multicast transports
696
+
697
+
698
+ ZMQ_REQ_CORRELATE: match replies with requests
699
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
700
+ The default behaviour of REQ sockets is to rely on the ordering of messages to
701
+ match requests and responses and that is usually sufficient. When this option
702
+ is set to 1, the REQ socket will prefix outgoing messages with an extra frame
703
+ containing a request id. That means the full message is (request id, 0,
704
+ user frames...). The REQ socket will discard all incoming messages that don't
705
+ begin with these two frames.
706
+
707
+ [horizontal]
708
+ Option value type:: int
709
+ Option value unit:: 0, 1
710
+ Default value:: 0
711
+ Applicable socket types:: ZMQ_REQ
712
+
713
+
714
+ ZMQ_REQ_RELAXED: relax strict alternation between request and reply
715
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
716
+ By default, a REQ socket does not allow initiating a new request with
717
+ _zmq_send(3)_ until the reply to the previous one has been received.
718
+ When set to 1, sending another message is allowed and previous replies will
719
+ be discarded if any. The request-reply state machine is reset and a new
720
+ request is sent to the next available peer.
721
+
722
+ If set to 1, also enable ZMQ_REQ_CORRELATE to ensure correct matching of
723
+ requests and replies. Otherwise a late reply to an aborted request can be
724
+ reported as the reply to the superseding request.
725
+
726
+ [horizontal]
727
+ Option value type:: int
728
+ Option value unit:: 0, 1
729
+ Default value:: 0
730
+ Applicable socket types:: ZMQ_REQ
731
+
732
+
733
+ ZMQ_ROUTER_HANDOVER: handle duplicate client routing ids on ROUTER sockets
734
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
735
+ If two clients use the same routing id when connecting to a ROUTER, the
736
+ results shall depend on the ZMQ_ROUTER_HANDOVER option setting. If that
737
+ is not set (or set to the default of zero), the ROUTER socket shall reject
738
+ clients trying to connect with an already-used routing id. If that option
739
+ is set to 1, the ROUTER socket shall hand-over the connection to the new
740
+ client and disconnect the existing one.
741
+
742
+ [horizontal]
743
+ Option value type:: int
744
+ Option value unit:: 0, 1
745
+ Default value:: 0
746
+ Applicable socket types:: ZMQ_ROUTER
747
+
748
+
749
+ ZMQ_ROUTER_MANDATORY: accept only routable messages on ROUTER sockets
750
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
751
+ Sets the ROUTER socket behaviour when an unroutable message is encountered. A
752
+ value of `0` is the default and discards the message silently when it cannot be
753
+ routed or the peers SNDHWM is reached. A value of `1` returns an
754
+ 'EHOSTUNREACH' error code if the message cannot be routed or 'EAGAIN' error
755
+ code if the SNDHWM is reached and ZMQ_DONTWAIT was used. Without ZMQ_DONTWAIT
756
+ it will block until the SNDTIMEO is reached or a spot in the send queue opens
757
+ up.
758
+
759
+ When ZMQ_ROUTER_MANDATORY is set to `1`, 'ZMQ_POLLOUT' events will be generated
760
+ if one or more messages can be sent to at least one of the peers. If
761
+ ZMQ_ROUTER_MANDATORY is set to `0`, the socket will generate a 'ZMQ_POLLOUT'
762
+ event on every call to 'zmq_poll'.
763
+
764
+ [horizontal]
765
+ Option value type:: int
766
+ Option value unit:: 0, 1
767
+ Default value:: 0
768
+ Applicable socket types:: ZMQ_ROUTER
769
+
770
+
771
+ ZMQ_ROUTER_RAW: switch ROUTER socket to raw mode
772
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
773
+ Sets the raw mode on the ROUTER, when set to 1. When the ROUTER socket is in
774
+ raw mode, and when using the tcp:// transport, it will read and write TCP data
775
+ without 0MQ framing. This lets 0MQ applications talk to non-0MQ applications.
776
+ When using raw mode, you cannot set explicit identities, and the ZMQ_SNDMORE
777
+ flag is ignored when sending data messages. In raw mode you can close a specific
778
+ connection by sending it a zero-length message (following the routing id frame).
779
+
780
+ NOTE: This option is deprecated, please use ZMQ_STREAM sockets instead.
781
+
782
+ [horizontal]
783
+ Option value type:: int
784
+ Option value unit:: 0, 1
785
+ Default value:: 0
786
+ Applicable socket types:: ZMQ_ROUTER
787
+
788
+
789
+ ZMQ_ROUTING_ID: Set socket routing id
790
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
791
+ The 'ZMQ_ROUTING_ID' option shall set the routing id of the specified 'socket'
792
+ when connecting to a ROUTER socket.
793
+
794
+ A routing id must be at least one byte and at most 255 bytes long. Identities
795
+ starting with a zero byte are reserved for use by the 0MQ infrastructure.
796
+
797
+ If two clients use the same routing id when connecting to a ROUTER, the
798
+ results shall depend on the ZMQ_ROUTER_HANDOVER option setting. If that
799
+ is not set (or set to the default of zero), the ROUTER socket shall reject
800
+ clients trying to connect with an already-used routing id. If that option
801
+ is set to 1, the ROUTER socket shall hand-over the connection to the new
802
+ client and disconnect the existing one.
803
+
804
+ [horizontal]
805
+ Option value type:: binary data
806
+ Option value unit:: N/A
807
+ Default value:: NULL
808
+ Applicable socket types:: ZMQ_REQ, ZMQ_REP, ZMQ_ROUTER, ZMQ_DEALER.
809
+
810
+
811
+ ZMQ_SNDBUF: Set kernel transmit buffer size
812
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
813
+ The 'ZMQ_SNDBUF' option shall set the underlying kernel transmit buffer size
814
+ for the 'socket' to the specified size in bytes. A value of -1 means leave
815
+ the OS default unchanged. For details please refer to your operating system
816
+ documentation for the 'SO_SNDBUF' socket option.
817
+
818
+ [horizontal]
819
+ Option value type:: int
820
+ Option value unit:: bytes
821
+ Default value:: -1
822
+ Applicable socket types:: all
823
+
824
+
825
+ ZMQ_SNDHWM: Set high water mark for outbound messages
826
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
827
+ The 'ZMQ_SNDHWM' option shall set the high water mark for outbound messages on
828
+ the specified 'socket'. The high water mark is a hard limit on the maximum
829
+ number of outstanding messages 0MQ shall queue in memory for any single peer
830
+ that the specified 'socket' is communicating with. A value of zero means no
831
+ limit.
832
+
833
+ If this limit has been reached the socket shall enter an exceptional state and
834
+ depending on the socket type, 0MQ shall take appropriate action such as
835
+ blocking or dropping sent messages. Refer to the individual socket descriptions
836
+ in linkzmq:zmq_socket[3] for details on the exact action taken for each socket
837
+ type.
838
+
839
+ NOTE: 0MQ does not guarantee that the socket will accept as many as ZMQ_SNDHWM
840
+ messages, and the actual limit may be as much as 90% lower depending on the
841
+ flow of messages on the socket.
842
+
843
+ [horizontal]
844
+ Option value type:: int
845
+ Option value unit:: messages
846
+ Default value:: 1000
847
+ Applicable socket types:: all
848
+
849
+
850
+ ZMQ_SNDTIMEO: Maximum time before a send operation returns with EAGAIN
851
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
852
+ Sets the timeout for send operation on the socket. If the value is `0`,
853
+ _zmq_send(3)_ will return immediately, with a EAGAIN error if the message
854
+ cannot be sent. If the value is `-1`, it will block until the message is sent.
855
+ For all other values, it will try to send the message for that amount of time
856
+ before returning with an EAGAIN error.
857
+
858
+ [horizontal]
859
+ Option value type:: int
860
+ Option value unit:: milliseconds
861
+ Default value:: -1 (infinite)
862
+ Applicable socket types:: all
863
+
864
+
865
+ ZMQ_SOCKS_PROXY: Set SOCKS5 proxy address
866
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
867
+ Sets the SOCKS5 proxy address that shall be used by the socket for the TCP
868
+ connection(s). Does not support SOCKS5 authentication. If the endpoints are
869
+ domain names instead of addresses they shall not be resolved and they shall
870
+ be forwarded unchanged to the SOCKS proxy service in the client connection
871
+ request message (address type 0x03 domain name).
872
+
873
+ [horizontal]
874
+ Option value type:: character string
875
+ Option value unit:: N/A
876
+ Default value:: not set
877
+ Applicable socket types:: all, when using TCP transport
878
+
879
+
880
+ ZMQ_STREAM_NOTIFY: send connect and disconnect notifications
881
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
882
+ Enables connect and disconnect notifications on a STREAM socket, when set
883
+ to 1. When notifications are enabled, the socket delivers a zero-length
884
+ message when a peer connects or disconnects.
885
+
886
+ [horizontal]
887
+ Option value type:: int
888
+ Option value unit:: 0, 1
889
+ Default value:: 1
890
+ Applicable socket types:: ZMQ_STREAM
891
+
892
+
893
+ ZMQ_SUBSCRIBE: Establish message filter
894
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
895
+ The 'ZMQ_SUBSCRIBE' option shall establish a new message filter on a 'ZMQ_SUB'
896
+ socket. Newly created 'ZMQ_SUB' sockets shall filter out all incoming messages,
897
+ therefore you should call this option to establish an initial message filter.
898
+
899
+ An empty 'option_value' of length zero shall subscribe to all incoming
900
+ messages. A non-empty 'option_value' shall subscribe to all messages beginning
901
+ with the specified prefix. Multiple filters may be attached to a single
902
+ 'ZMQ_SUB' socket, in which case a message shall be accepted if it matches at
903
+ least one filter.
904
+
905
+ [horizontal]
906
+ Option value type:: binary data
907
+ Option value unit:: N/A
908
+ Default value:: N/A
909
+ Applicable socket types:: ZMQ_SUB
910
+
911
+
912
+ ZMQ_TCP_KEEPALIVE: Override SO_KEEPALIVE socket option
913
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
914
+ Override 'SO_KEEPALIVE' socket option (where supported by OS).
915
+ The default value of `-1` means to skip any overrides and leave it to OS default.
916
+
917
+ [horizontal]
918
+ Option value type:: int
919
+ Option value unit:: -1,0,1
920
+ Default value:: -1 (leave to OS default)
921
+ Applicable socket types:: all, when using TCP transports.
922
+
923
+
924
+ ZMQ_TCP_KEEPALIVE_CNT: Override TCP_KEEPCNT socket option
925
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
926
+ Override 'TCP_KEEPCNT' socket option (where supported by OS). The default
927
+ value of `-1` means to skip any overrides and leave it to OS default.
928
+
929
+ [horizontal]
930
+ Option value type:: int
931
+ Option value unit:: -1,>0
932
+ Default value:: -1 (leave to OS default)
933
+ Applicable socket types:: all, when using TCP transports.
934
+
935
+
936
+ ZMQ_TCP_KEEPALIVE_IDLE: Override TCP_KEEPIDLE (or TCP_KEEPALIVE on some OS)
937
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
938
+ Override 'TCP_KEEPIDLE' (or 'TCP_KEEPALIVE' on some OS) socket option (where
939
+ supported by OS). The default value of `-1` means to skip any overrides and
940
+ leave it to OS default.
941
+
942
+ [horizontal]
943
+ Option value type:: int
944
+ Option value unit:: -1,>0
945
+ Default value:: -1 (leave to OS default)
946
+ Applicable socket types:: all, when using TCP transports.
947
+
948
+
949
+ ZMQ_TCP_KEEPALIVE_INTVL: Override TCP_KEEPINTVL socket option
950
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
951
+ Override 'TCP_KEEPINTVL' socket option(where supported by OS). The default
952
+ value of `-1` means to skip any overrides and leave it to OS default.
953
+
954
+ [horizontal]
955
+ Option value type:: int
956
+ Option value unit:: -1,>0
957
+ Default value:: -1 (leave to OS default)
958
+ Applicable socket types:: all, when using TCP transports.
959
+
960
+
961
+ ZMQ_TCP_MAXRT: Set TCP Maximum Retransmit Timeout
962
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
963
+ On OSes where it is supported, sets how long before an unacknowledged TCP
964
+ retransmit times out. The system normally attempts many TCP retransmits
965
+ following an exponential backoff strategy. This means that after a network
966
+ outage, it may take a long time before the session can be re-established.
967
+ Setting this option allows the timeout to happen at a shorter interval.
968
+
969
+ [horizontal]
970
+ Option value type:: int
971
+ Option value unit:: milliseconds
972
+ Default value:: 0 (leave to OS default)
973
+ Applicable socket types:: all, when using TCP transports.
974
+
975
+
976
+ ZMQ_TOS: Set the Type-of-Service on socket
977
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
978
+ Sets the ToS fields (Differentiated services (DS) and Explicit Congestion
979
+ Notification (ECN) field of the IP header. The ToS field is typically used
980
+ to specify a packets priority. The availability of this option is dependent
981
+ on intermediate network equipment that inspect the ToS field and provide a
982
+ path for low-delay, high-throughput, highly-reliable service, etc.
983
+
984
+ [horizontal]
985
+ Option value type:: int
986
+ Option value unit:: >0
987
+ Default value:: 0
988
+ Applicable socket types:: all, only for connection-oriented transports
989
+
990
+
991
+ ZMQ_UNSUBSCRIBE: Remove message filter
992
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
993
+ The 'ZMQ_UNSUBSCRIBE' option shall remove an existing message filter on a
994
+ 'ZMQ_SUB' socket. The filter specified must match an existing filter previously
995
+ established with the 'ZMQ_SUBSCRIBE' option. If the socket has several
996
+ instances of the same filter attached the 'ZMQ_UNSUBSCRIBE' option shall remove
997
+ only one instance, leaving the rest in place and functional.
998
+
999
+ [horizontal]
1000
+ Option value type:: binary data
1001
+ Option value unit:: N/A
1002
+ Default value:: N/A
1003
+ Applicable socket types:: ZMQ_SUB
1004
+
1005
+
1006
+ ZMQ_XPUB_VERBOSE: pass subscribe messages on XPUB socket
1007
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1008
+ Sets the 'XPUB' socket behaviour on new subscriptions. If enabled,
1009
+ the socket passes all subscribe messages to the caller. If disabled,
1010
+ these are not visible to the caller. The default is 0 (disabled).
1011
+
1012
+ [horizontal]
1013
+ Option value type:: int
1014
+ Option value unit:: 0, 1
1015
+ Default value:: 0
1016
+ Applicable socket types:: ZMQ_XPUB
1017
+
1018
+
1019
+ ZMQ_XPUB_VERBOSER: pass subscribe and unsubscribe messages on XPUB socket
1020
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1021
+ Sets the 'XPUB' socket behaviour on new subscriptions and ubsubscriptions.
1022
+ If enabled, the socket passes all subscribe and unsubscribe messages to the
1023
+ caller. If disabled, these are not visible to the caller. The default is 0
1024
+ (disabled).
1025
+
1026
+ [horizontal]
1027
+ Option value type:: int
1028
+ Option value unit:: 0, 1
1029
+ Default value:: 0
1030
+ Applicable socket types:: ZMQ_XPUB
1031
+
1032
+
1033
+ ZMQ_XPUB_MANUAL: change the subscription handling to manual
1034
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1035
+ Sets the 'XPUB' socket subscription handling mode manual/automatic.
1036
+ A value of '0' is the default and subscription requests will be handled automatically.
1037
+ A value of '1' will change the subscription requests handling to manual,
1038
+ with manual mode subscription requests are not added to the subscription list.
1039
+ To add subscription the user need to call setsockopt with ZMQ_SUBSCRIBE on XPUB socket.
1040
+
1041
+ [horizontal]
1042
+ Option value type:: int
1043
+ Option value unit:: 0, 1
1044
+ Default value:: 0
1045
+ Applicable socket types:: ZMQ_XPUB
1046
+
1047
+
1048
+ ZMQ_XPUB_NODROP: do not silently drop messages if SENDHWM is reached
1049
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1050
+ Sets the 'XPUB' socket behaviour to return error EAGAIN if SENDHWM is
1051
+ reached and the message could not be send.
1052
+
1053
+ A value of `0` is the default and drops the message silently when the peers
1054
+ SNDHWM is reached. A value of `1` returns an 'EAGAIN' error code if the
1055
+ SNDHWM is reached and ZMQ_DONTWAIT was used.
1056
+
1057
+ [horizontal]
1058
+ Option value type:: int
1059
+ Option value unit:: 0, 1
1060
+ Default value:: 0
1061
+ Applicable socket types:: ZMQ_XPUB, ZMQ_PUB
1062
+
1063
+
1064
+ ZMQ_XPUB_WELCOME_MSG: set welcome message that will be received by subscriber when connecting
1065
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1066
+ Sets a welcome message the will be recieved by subscriber when connecting.
1067
+ Subscriber must subscribe to the Welcome message before connecting.
1068
+ Welcome message will also be sent on reconnecting.
1069
+ For welcome message to work well user must poll on incoming subscription messages on the XPUB socket and handle them.
1070
+
1071
+ Use NULL and lenght of zero to disable welcome message.
1072
+
1073
+ [horizontal]
1074
+ Option value type:: binary data
1075
+ Option value unit:: N/A
1076
+ Default value:: NULL
1077
+ Applicable socket types:: ZMQ_XPUB
1078
+
1079
+
1080
+ ZMQ_ZAP_DOMAIN: Set RFC 27 authentication domain
1081
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1082
+ Sets the domain for ZAP (ZMQ RFC 27) authentication. A ZAP domain must be
1083
+ specified to enable authentication. When the ZAP domain is empty, which is
1084
+ the default, ZAP authentication is disabled. This is not compatible with
1085
+ previous versions of libzmq, so it can be controlled by ZMQ_ZAP_ENFORCE_DOMAIN
1086
+ which for now is disabled by default.
1087
+ See http://rfc.zeromq.org/spec:27 for more details.
1088
+
1089
+ [horizontal]
1090
+ Option value type:: character string
1091
+ Option value unit:: N/A
1092
+ Default value:: empty
1093
+ Applicable socket types:: all, when using TCP transport
1094
+
1095
+
1096
+ ZMQ_ZAP_ENFORCE_DOMAIN: Set ZAP domain handling to strictly adhere the RFC
1097
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1098
+ The ZAP (ZMQ RFC 27) authentication protocol specifies that a domain must
1099
+ always be set. Older versions of libzmq did not follow the spec and allowed
1100
+ an empty domain to be set.
1101
+ This option can be used to enabled or disable the stricter, backward
1102
+ incompatible behaviour. For now it is disabled by default, but in a future
1103
+ version it will be enabled by default.
1104
+
1105
+ [horizontal]
1106
+ Option value type:: int
1107
+ Option value unit:: 0, 1
1108
+ Default value:: 0
1109
+ Applicable socket types:: all, when using ZAP
1110
+
1111
+
1112
+ ZMQ_TCP_ACCEPT_FILTER: Assign filters to allow new TCP connections
1113
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1114
+ Assign an arbitrary number of filters that will be applied for each new TCP
1115
+ transport connection on a listening socket. If no filters are applied, then
1116
+ the TCP transport allows connections from any IP address. If at least one
1117
+ filter is applied then new connection source ip should be matched. To clear
1118
+ all filters call zmq_setsockopt(socket, ZMQ_TCP_ACCEPT_FILTER, NULL, 0).
1119
+ Filter is a null-terminated string with ipv6 or ipv4 CIDR.
1120
+
1121
+ NOTE: This option is deprecated, please use authentication via the ZAP API
1122
+ and IP address whitelisting / blacklisting.
1123
+
1124
+ [horizontal]
1125
+ Option value type:: binary data
1126
+ Option value unit:: N/A
1127
+ Default value:: no filters (allow from all)
1128
+ Applicable socket types:: all listening sockets, when using TCP transports.
1129
+
1130
+
1131
+ ZMQ_IPC_FILTER_GID: Assign group ID filters to allow new IPC connections
1132
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1133
+ Assign an arbitrary number of filters that will be applied for each new IPC
1134
+ transport connection on a listening socket. If no IPC filters are applied, then
1135
+ the IPC transport allows connections from any process. If at least one UID,
1136
+ GID, or PID filter is applied then new connection credentials should be
1137
+ matched. To clear all GID filters call zmq_setsockopt(socket,
1138
+ ZMQ_IPC_FILTER_GID, NULL, 0).
1139
+
1140
+ NOTE: GID filters are only available on platforms supporting SO_PEERCRED or
1141
+ LOCAL_PEERCRED socket options (currently only Linux and later versions of
1142
+ OS X).
1143
+
1144
+ NOTE: This option is deprecated, please use authentication via the ZAP API
1145
+ and IPC whitelisting / blacklisting.
1146
+
1147
+ [horizontal]
1148
+ Option value type:: gid_t
1149
+ Option value unit:: N/A
1150
+ Default value:: no filters (allow from all)
1151
+ Applicable socket types:: all listening sockets, when using IPC transports.
1152
+
1153
+
1154
+ ZMQ_IPC_FILTER_PID: Assign process ID filters to allow new IPC connections
1155
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1156
+ Assign an arbitrary number of filters that will be applied for each new IPC
1157
+ transport connection on a listening socket. If no IPC filters are applied, then
1158
+ the IPC transport allows connections from any process. If at least one UID,
1159
+ GID, or PID filter is applied then new connection credentials should be
1160
+ matched. To clear all PID filters call zmq_setsockopt(socket,
1161
+ ZMQ_IPC_FILTER_PID, NULL, 0).
1162
+
1163
+ NOTE: PID filters are only available on platforms supporting the SO_PEERCRED
1164
+ socket option (currently only Linux).
1165
+
1166
+ NOTE: This option is deprecated, please use authentication via the ZAP API
1167
+ and IPC whitelisting / blacklisting.
1168
+
1169
+ [horizontal]
1170
+ Option value type:: pid_t
1171
+ Option value unit:: N/A
1172
+ Default value:: no filters (allow from all)
1173
+ Applicable socket types:: all listening sockets, when using IPC transports.
1174
+
1175
+
1176
+ ZMQ_IPC_FILTER_UID: Assign user ID filters to allow new IPC connections
1177
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1178
+ Assign an arbitrary number of filters that will be applied for each new IPC
1179
+ transport connection on a listening socket. If no IPC filters are applied, then
1180
+ the IPC transport allows connections from any process. If at least one UID,
1181
+ GID, or PID filter is applied then new connection credentials should be
1182
+ matched. To clear all UID filters call zmq_setsockopt(socket,
1183
+ ZMQ_IPC_FILTER_UID, NULL, 0).
1184
+
1185
+ NOTE: UID filters are only available on platforms supporting SO_PEERCRED or
1186
+ LOCAL_PEERCRED socket options (currently only Linux and later versions of
1187
+ OS X).
1188
+
1189
+ NOTE: This option is deprecated, please use authentication via the ZAP API
1190
+ and IPC whitelisting / blacklisting.
1191
+
1192
+ [horizontal]
1193
+ Option value type:: uid_t
1194
+ Option value unit:: N/A
1195
+ Default value:: no filters (allow from all)
1196
+ Applicable socket types:: all listening sockets, when using IPC transports.
1197
+
1198
+
1199
+ ZMQ_IPV4ONLY: Use IPv4-only on socket
1200
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1201
+ Set the IPv4-only option for the socket. This option is deprecated.
1202
+ Please use the ZMQ_IPV6 option.
1203
+
1204
+ [horizontal]
1205
+ Option value type:: int
1206
+ Option value unit:: boolean
1207
+ Default value:: 1 (true)
1208
+ Applicable socket types:: all, when using TCP transports.
1209
+
1210
+
1211
+ ZMQ_VMCI_BUFFER_SIZE: Set buffer size of the VMCI socket
1212
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1213
+ The `ZMQ_VMCI_BUFFER_SIZE` option shall set the size of the underlying
1214
+ buffer for the socket. Used during negotiation before the connection is established.
1215
+
1216
+ [horizontal]
1217
+ Option value type:: uint64_t
1218
+ Option value unit:: bytes
1219
+ Default value:: 65546
1220
+ Applicable socket types:: all, when using VMCI transport
1221
+
1222
+
1223
+ ZMQ_VMCI_BUFFER_MIN_SIZE: Set min buffer size of the VMCI socket
1224
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1225
+ The `ZMQ_VMCI_BUFFER_MIN_SIZE` option shall set the min size of the underlying
1226
+ buffer for the socket. Used during negotiation before the connection is established.
1227
+
1228
+ [horizontal]
1229
+ Option value type:: uint64_t
1230
+ Option value unit:: bytes
1231
+ Default value:: 128
1232
+ Applicable socket types:: all, when using VMCI transport
1233
+
1234
+
1235
+ ZMQ_VMCI_BUFFER_MAX_SIZE: Set max buffer size of the VMCI socket
1236
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1237
+ The `ZMQ_VMCI_BUFFER_MAX_SIZE` option shall set the max size of the underlying
1238
+ buffer for the socket. Used during negotiation before the connection is established.
1239
+
1240
+ [horizontal]
1241
+ Option value type:: uint64_t
1242
+ Option value unit:: bytes
1243
+ Default value:: 262144
1244
+ Applicable socket types:: all, when using VMCI transport
1245
+
1246
+
1247
+ ZMQ_VMCI_CONNECT_TIMEOUT: Set connection timeout of the VMCI socket
1248
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1249
+ The `ZMQ_VMCI_CONNECT_TIMEOUT` option shall set connection timeout
1250
+ for the socket.
1251
+
1252
+ [horizontal]
1253
+ Option value type:: int
1254
+ Option value unit:: milliseconds
1255
+ Default value:: -1
1256
+ Applicable socket types:: all, when using VMCI transport
1257
+
1258
+
1259
+ RETURN VALUE
1260
+ ------------
1261
+ The _zmq_setsockopt()_ function shall return zero if successful. Otherwise it
1262
+ shall return `-1` and set 'errno' to one of the values defined below.
1263
+
1264
+ ERRORS
1265
+ ------
1266
+ *EINVAL*::
1267
+ The requested option _option_name_ is unknown, or the requested _option_len_ or
1268
+ _option_value_ is invalid.
1269
+ *ETERM*::
1270
+ The 0MQ 'context' associated with the specified 'socket' was terminated.
1271
+ *ENOTSOCK*::
1272
+ The provided 'socket' was invalid.
1273
+ *EINTR*::
1274
+ The operation was interrupted by delivery of a signal.
1275
+
1276
+
1277
+ EXAMPLE
1278
+ -------
1279
+ .Subscribing to messages on a 'ZMQ_SUB' socket
1280
+ ----
1281
+ /* Subscribe to all messages */
1282
+ rc = zmq_setsockopt (socket, ZMQ_SUBSCRIBE, "", 0);
1283
+ assert (rc == 0);
1284
+ /* Subscribe to messages prefixed with "ANIMALS.CATS" */
1285
+ rc = zmq_setsockopt (socket, ZMQ_SUBSCRIBE, "ANIMALS.CATS", 12);
1286
+ ----
1287
+
1288
+ .Setting I/O thread affinity
1289
+ ----
1290
+ int64_t affinity;
1291
+ /* Incoming connections on TCP port 5555 shall be handled by I/O thread 1 */
1292
+ affinity = 1;
1293
+ rc = zmq_setsockopt (socket, ZMQ_AFFINITY, &affinity, sizeof (affinity));
1294
+ assert (rc);
1295
+ rc = zmq_bind (socket, "tcp://lo:5555");
1296
+ assert (rc);
1297
+ /* Incoming connections on TCP port 5556 shall be handled by I/O thread 2 */
1298
+ affinity = 2;
1299
+ rc = zmq_setsockopt (socket, ZMQ_AFFINITY, &affinity, sizeof (affinity));
1300
+ assert (rc);
1301
+ rc = zmq_bind (socket, "tcp://lo:5556");
1302
+ assert (rc);
1303
+ ----
1304
+
1305
+
1306
+ SEE ALSO
1307
+ --------
1308
+ linkzmq:zmq_getsockopt[3]
1309
+ linkzmq:zmq_socket[3]
1310
+ linkzmq:zmq_plain[7]
1311
+ linkzmq:zmq_curve[7]
1312
+ linkzmq:zmq[7]
1313
+
1314
+
1315
+ AUTHORS
1316
+ -------
1317
+ This page was written by the 0MQ community. To make a change please
1318
+ read the 0MQ Contribution Policy at <http://www.zeromq.org/docs:contributing>.