This file is indexed.

/usr/share/zproject/czmq/zsock_option.api is in libczmq-dev 4.1.0-2.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
<!--
******************************************************************
*   GENERATED SOURCE CODE, DO NOT EDIT!!                         *
*   TO CHANGE THIS FILE:                                         *
*    - EDIT src/zsock_option.gsl and/or                          *
*    - EDIT src/sockopts.xml     and then                        *
*    - RUN 'make code'                                           *
******************************************************************
-->

<!-- The following socket options are available in libzmq from version 4.2.0 -->

<method name = "heartbeat ivl" polymorphic = "1">
    Get socket option `heartbeat_ivl`.
    Available from libzmq 4.2.0.
    <return type = "integer" fresh = "1" />
</method>

<method name = "set heartbeat ivl" polymorphic = "1">
    Set socket option `heartbeat_ivl`.
    Available from libzmq 4.2.0.
    <argument name = "heartbeat ivl" type = "integer" />
</method>

<method name = "heartbeat ttl" polymorphic = "1">
    Get socket option `heartbeat_ttl`.
    Available from libzmq 4.2.0.
    <return type = "integer" fresh = "1" />
</method>

<method name = "set heartbeat ttl" polymorphic = "1">
    Set socket option `heartbeat_ttl`.
    Available from libzmq 4.2.0.
    <argument name = "heartbeat ttl" type = "integer" />
</method>

<method name = "heartbeat timeout" polymorphic = "1">
    Get socket option `heartbeat_timeout`.
    Available from libzmq 4.2.0.
    <return type = "integer" fresh = "1" />
</method>

<method name = "set heartbeat timeout" polymorphic = "1">
    Set socket option `heartbeat_timeout`.
    Available from libzmq 4.2.0.
    <argument name = "heartbeat timeout" type = "integer" />
</method>

<method name = "use fd" polymorphic = "1">
    Get socket option `use_fd`.
    Available from libzmq 4.2.0.
    <return type = "integer" fresh = "1" />
</method>

<method name = "set use fd" polymorphic = "1">
    Set socket option `use_fd`.
    Available from libzmq 4.2.0.
    <argument name = "use fd" type = "integer" />
</method>

<method name = "set xpub manual" polymorphic = "1">
    Set socket option `xpub_manual`.
    Available from libzmq 4.2.0.
    <argument name = "xpub manual" type = "integer" />
</method>

<method name = "set xpub welcome msg" polymorphic = "1">
    Set socket option `xpub_welcome_msg`.
    Available from libzmq 4.2.0.
    <argument name = "xpub welcome msg" type = "string" />
</method>

<method name = "set stream notify" polymorphic = "1">
    Set socket option `stream_notify`.
    Available from libzmq 4.2.0.
    <argument name = "stream notify" type = "integer" />
</method>

<method name = "invert matching" polymorphic = "1">
    Get socket option `invert_matching`.
    Available from libzmq 4.2.0.
    <return type = "integer" fresh = "1" />
</method>

<method name = "set invert matching" polymorphic = "1">
    Set socket option `invert_matching`.
    Available from libzmq 4.2.0.
    <argument name = "invert matching" type = "integer" />
</method>

<method name = "set xpub verboser" polymorphic = "1">
    Set socket option `xpub_verboser`.
    Available from libzmq 4.2.0.
    <argument name = "xpub verboser" type = "integer" />
</method>

<method name = "connect timeout" polymorphic = "1">
    Get socket option `connect_timeout`.
    Available from libzmq 4.2.0.
    <return type = "integer" fresh = "1" />
</method>

<method name = "set connect timeout" polymorphic = "1">
    Set socket option `connect_timeout`.
    Available from libzmq 4.2.0.
    <argument name = "connect timeout" type = "integer" />
</method>

<method name = "tcp maxrt" polymorphic = "1">
    Get socket option `tcp_maxrt`.
    Available from libzmq 4.2.0.
    <return type = "integer" fresh = "1" />
</method>

<method name = "set tcp maxrt" polymorphic = "1">
    Set socket option `tcp_maxrt`.
    Available from libzmq 4.2.0.
    <argument name = "tcp maxrt" type = "integer" />
</method>

<method name = "thread safe" polymorphic = "1">
    Get socket option `thread_safe`.
    Available from libzmq 4.2.0.
    <return type = "integer" fresh = "1" />
</method>

<method name = "multicast maxtpdu" polymorphic = "1">
    Get socket option `multicast_maxtpdu`.
    Available from libzmq 4.2.0.
    <return type = "integer" fresh = "1" />
</method>

<method name = "set multicast maxtpdu" polymorphic = "1">
    Set socket option `multicast_maxtpdu`.
    Available from libzmq 4.2.0.
    <argument name = "multicast maxtpdu" type = "integer" />
</method>

<method name = "vmci buffer size" polymorphic = "1">
    Get socket option `vmci_buffer_size`.
    Available from libzmq 4.2.0.
    <return type = "integer" fresh = "1" />
</method>

<method name = "set vmci buffer size" polymorphic = "1">
    Set socket option `vmci_buffer_size`.
    Available from libzmq 4.2.0.
    <argument name = "vmci buffer size" type = "integer" />
</method>

<method name = "vmci buffer min size" polymorphic = "1">
    Get socket option `vmci_buffer_min_size`.
    Available from libzmq 4.2.0.
    <return type = "integer" fresh = "1" />
</method>

<method name = "set vmci buffer min size" polymorphic = "1">
    Set socket option `vmci_buffer_min_size`.
    Available from libzmq 4.2.0.
    <argument name = "vmci buffer min size" type = "integer" />
</method>

<method name = "vmci buffer max size" polymorphic = "1">
    Get socket option `vmci_buffer_max_size`.
    Available from libzmq 4.2.0.
    <return type = "integer" fresh = "1" />
</method>

<method name = "set vmci buffer max size" polymorphic = "1">
    Set socket option `vmci_buffer_max_size`.
    Available from libzmq 4.2.0.
    <argument name = "vmci buffer max size" type = "integer" />
</method>

<method name = "vmci connect timeout" polymorphic = "1">
    Get socket option `vmci_connect_timeout`.
    Available from libzmq 4.2.0.
    <return type = "integer" fresh = "1" />
</method>

<method name = "set vmci connect timeout" polymorphic = "1">
    Set socket option `vmci_connect_timeout`.
    Available from libzmq 4.2.0.
    <argument name = "vmci connect timeout" type = "integer" />
</method>

<!-- The following socket options are available in libzmq from version 4.1.0 -->

<method name = "tos" polymorphic = "1">
    Get socket option `tos`.
    Available from libzmq 4.1.0.
    <return type = "integer" fresh = "1" />
</method>

<method name = "set tos" polymorphic = "1">
    Set socket option `tos`.
    Available from libzmq 4.1.0.
    <argument name = "tos" type = "integer" />
</method>

<method name = "set router handover" polymorphic = "1">
    Set socket option `router_handover`.
    Available from libzmq 4.1.0.
    <argument name = "router handover" type = "integer" />
</method>

<method name = "set connect rid" polymorphic = "1">
    Set socket option `connect_rid`.
    Available from libzmq 4.1.0.
    <argument name = "connect rid" type = "string" />
</method>

<method name = "set connect rid bin" polymorphic = "1">
    Set socket option `connect_rid` from 32-octet binary
    Available from libzmq 4.1.0.
    <argument name = "connect rid" type = "buffer" />
</method>

<method name = "handshake ivl" polymorphic = "1">
    Get socket option `handshake_ivl`.
    Available from libzmq 4.1.0.
    <return type = "integer" fresh = "1" />
</method>

<method name = "set handshake ivl" polymorphic = "1">
    Set socket option `handshake_ivl`.
    Available from libzmq 4.1.0.
    <argument name = "handshake ivl" type = "integer" />
</method>

<method name = "socks proxy" polymorphic = "1">
    Get socket option `socks_proxy`.
    Available from libzmq 4.1.0.
    <return type = "string" fresh = "1" />
</method>

<method name = "set socks proxy" polymorphic = "1">
    Set socket option `socks_proxy`.
    Available from libzmq 4.1.0.
    <argument name = "socks proxy" type = "string" />
</method>

<method name = "set xpub nodrop" polymorphic = "1">
    Set socket option `xpub_nodrop`.
    Available from libzmq 4.1.0.
    <argument name = "xpub nodrop" type = "integer" />
</method>

<!-- The following socket options are available in libzmq from version 4.0.0 -->

<method name = "set router mandatory" polymorphic = "1">
    Set socket option `router_mandatory`.
    Available from libzmq 4.0.0.
    <argument name = "router mandatory" type = "integer" />
</method>

<method name = "set probe router" polymorphic = "1">
    Set socket option `probe_router`.
    Available from libzmq 4.0.0.
    <argument name = "probe router" type = "integer" />
</method>

<method name = "set req relaxed" polymorphic = "1">
    Set socket option `req_relaxed`.
    Available from libzmq 4.0.0.
    <argument name = "req relaxed" type = "integer" />
</method>

<method name = "set req correlate" polymorphic = "1">
    Set socket option `req_correlate`.
    Available from libzmq 4.0.0.
    <argument name = "req correlate" type = "integer" />
</method>

<method name = "set conflate" polymorphic = "1">
    Set socket option `conflate`.
    Available from libzmq 4.0.0.
    <argument name = "conflate" type = "integer" />
</method>

<method name = "zap domain" polymorphic = "1">
    Get socket option `zap_domain`.
    Available from libzmq 4.0.0.
    <return type = "string" fresh = "1" />
</method>

<method name = "set zap domain" polymorphic = "1">
    Set socket option `zap_domain`.
    Available from libzmq 4.0.0.
    <argument name = "zap domain" type = "string" />
</method>

<method name = "mechanism" polymorphic = "1">
    Get socket option `mechanism`.
    Available from libzmq 4.0.0.
    <return type = "integer" fresh = "1" />
</method>

<method name = "plain server" polymorphic = "1">
    Get socket option `plain_server`.
    Available from libzmq 4.0.0.
    <return type = "integer" fresh = "1" />
</method>

<method name = "set plain server" polymorphic = "1">
    Set socket option `plain_server`.
    Available from libzmq 4.0.0.
    <argument name = "plain server" type = "integer" />
</method>

<method name = "plain username" polymorphic = "1">
    Get socket option `plain_username`.
    Available from libzmq 4.0.0.
    <return type = "string" fresh = "1" />
</method>

<method name = "set plain username" polymorphic = "1">
    Set socket option `plain_username`.
    Available from libzmq 4.0.0.
    <argument name = "plain username" type = "string" />
</method>

<method name = "plain password" polymorphic = "1">
    Get socket option `plain_password`.
    Available from libzmq 4.0.0.
    <return type = "string" fresh = "1" />
</method>

<method name = "set plain password" polymorphic = "1">
    Set socket option `plain_password`.
    Available from libzmq 4.0.0.
    <argument name = "plain password" type = "string" />
</method>

<method name = "curve server" polymorphic = "1">
    Get socket option `curve_server`.
    Available from libzmq 4.0.0.
    <return type = "integer" fresh = "1" />
</method>

<method name = "set curve server" polymorphic = "1">
    Set socket option `curve_server`.
    Available from libzmq 4.0.0.
    <argument name = "curve server" type = "integer" />
</method>

<method name = "curve publickey" polymorphic = "1">
    Get socket option `curve_publickey`.
    Available from libzmq 4.0.0.
    <return type = "string" fresh = "1" />
</method>

<method name = "set curve publickey" polymorphic = "1">
    Set socket option `curve_publickey`.
    Available from libzmq 4.0.0.
    <argument name = "curve publickey" type = "string" />
</method>

<method name = "set curve publickey bin" polymorphic = "1">
    Set socket option `curve_publickey` from 32-octet binary
    Available from libzmq 4.0.0.
    <argument name = "curve publickey" type = "buffer" />
</method>

<method name = "curve secretkey" polymorphic = "1">
    Get socket option `curve_secretkey`.
    Available from libzmq 4.0.0.
    <return type = "string" fresh = "1" />
</method>

<method name = "set curve secretkey" polymorphic = "1">
    Set socket option `curve_secretkey`.
    Available from libzmq 4.0.0.
    <argument name = "curve secretkey" type = "string" />
</method>

<method name = "set curve secretkey bin" polymorphic = "1">
    Set socket option `curve_secretkey` from 32-octet binary
    Available from libzmq 4.0.0.
    <argument name = "curve secretkey" type = "buffer" />
</method>

<method name = "curve serverkey" polymorphic = "1">
    Get socket option `curve_serverkey`.
    Available from libzmq 4.0.0.
    <return type = "string" fresh = "1" />
</method>

<method name = "set curve serverkey" polymorphic = "1">
    Set socket option `curve_serverkey`.
    Available from libzmq 4.0.0.
    <argument name = "curve serverkey" type = "string" />
</method>

<method name = "set curve serverkey bin" polymorphic = "1">
    Set socket option `curve_serverkey` from 32-octet binary
    Available from libzmq 4.0.0.
    <argument name = "curve serverkey" type = "buffer" />
</method>

<method name = "gssapi server" polymorphic = "1">
    Get socket option `gssapi_server`.
    Available from libzmq 4.0.0.
    <return type = "integer" fresh = "1" />
</method>

<method name = "set gssapi server" polymorphic = "1">
    Set socket option `gssapi_server`.
    Available from libzmq 4.0.0.
    <argument name = "gssapi server" type = "integer" />
</method>

<method name = "gssapi plaintext" polymorphic = "1">
    Get socket option `gssapi_plaintext`.
    Available from libzmq 4.0.0.
    <return type = "integer" fresh = "1" />
</method>

<method name = "set gssapi plaintext" polymorphic = "1">
    Set socket option `gssapi_plaintext`.
    Available from libzmq 4.0.0.
    <argument name = "gssapi plaintext" type = "integer" />
</method>

<method name = "gssapi principal" polymorphic = "1">
    Get socket option `gssapi_principal`.
    Available from libzmq 4.0.0.
    <return type = "string" fresh = "1" />
</method>

<method name = "set gssapi principal" polymorphic = "1">
    Set socket option `gssapi_principal`.
    Available from libzmq 4.0.0.
    <argument name = "gssapi principal" type = "string" />
</method>

<method name = "gssapi service principal" polymorphic = "1">
    Get socket option `gssapi_service_principal`.
    Available from libzmq 4.0.0.
    <return type = "string" fresh = "1" />
</method>

<method name = "set gssapi service principal" polymorphic = "1">
    Set socket option `gssapi_service_principal`.
    Available from libzmq 4.0.0.
    <argument name = "gssapi service principal" type = "string" />
</method>

<method name = "ipv6" polymorphic = "1">
    Get socket option `ipv6`.
    Available from libzmq 4.0.0.
    <return type = "integer" fresh = "1" />
</method>

<method name = "set ipv6" polymorphic = "1">
    Set socket option `ipv6`.
    Available from libzmq 4.0.0.
    <argument name = "ipv6" type = "integer" />
</method>

<method name = "immediate" polymorphic = "1">
    Get socket option `immediate`.
    Available from libzmq 4.0.0.
    <return type = "integer" fresh = "1" />
</method>

<method name = "set immediate" polymorphic = "1">
    Set socket option `immediate`.
    Available from libzmq 4.0.0.
    <argument name = "immediate" type = "integer" />
</method>

<!-- The following socket options are available in libzmq from version 3.0.0 -->

<method name = "sndhwm" polymorphic = "1">
    Get socket option `sndhwm`.
    Available from libzmq 3.0.0.
    <return type = "integer" fresh = "1" />
</method>

<method name = "set sndhwm" polymorphic = "1">
    Set socket option `sndhwm`.
    Available from libzmq 3.0.0.
    <argument name = "sndhwm" type = "integer" />
</method>

<method name = "rcvhwm" polymorphic = "1">
    Get socket option `rcvhwm`.
    Available from libzmq 3.0.0.
    <return type = "integer" fresh = "1" />
</method>

<method name = "set rcvhwm" polymorphic = "1">
    Set socket option `rcvhwm`.
    Available from libzmq 3.0.0.
    <argument name = "rcvhwm" type = "integer" />
</method>

<method name = "maxmsgsize" polymorphic = "1">
    Get socket option `maxmsgsize`.
    Available from libzmq 3.0.0.
    <return type = "integer" fresh = "1" />
</method>

<method name = "set maxmsgsize" polymorphic = "1">
    Set socket option `maxmsgsize`.
    Available from libzmq 3.0.0.
    <argument name = "maxmsgsize" type = "integer" />
</method>

<method name = "multicast hops" polymorphic = "1">
    Get socket option `multicast_hops`.
    Available from libzmq 3.0.0.
    <return type = "integer" fresh = "1" />
</method>

<method name = "set multicast hops" polymorphic = "1">
    Set socket option `multicast_hops`.
    Available from libzmq 3.0.0.
    <argument name = "multicast hops" type = "integer" />
</method>

<method name = "set xpub verbose" polymorphic = "1">
    Set socket option `xpub_verbose`.
    Available from libzmq 3.0.0.
    <argument name = "xpub verbose" type = "integer" />
</method>

<method name = "tcp keepalive" polymorphic = "1">
    Get socket option `tcp_keepalive`.
    Available from libzmq 3.0.0.
    <return type = "integer" fresh = "1" />
</method>

<method name = "set tcp keepalive" polymorphic = "1">
    Set socket option `tcp_keepalive`.
    Available from libzmq 3.0.0.
    <argument name = "tcp keepalive" type = "integer" />
</method>

<method name = "tcp keepalive idle" polymorphic = "1">
    Get socket option `tcp_keepalive_idle`.
    Available from libzmq 3.0.0.
    <return type = "integer" fresh = "1" />
</method>

<method name = "set tcp keepalive idle" polymorphic = "1">
    Set socket option `tcp_keepalive_idle`.
    Available from libzmq 3.0.0.
    <argument name = "tcp keepalive idle" type = "integer" />
</method>

<method name = "tcp keepalive cnt" polymorphic = "1">
    Get socket option `tcp_keepalive_cnt`.
    Available from libzmq 3.0.0.
    <return type = "integer" fresh = "1" />
</method>

<method name = "set tcp keepalive cnt" polymorphic = "1">
    Set socket option `tcp_keepalive_cnt`.
    Available from libzmq 3.0.0.
    <argument name = "tcp keepalive cnt" type = "integer" />
</method>

<method name = "tcp keepalive intvl" polymorphic = "1">
    Get socket option `tcp_keepalive_intvl`.
    Available from libzmq 3.0.0.
    <return type = "integer" fresh = "1" />
</method>

<method name = "set tcp keepalive intvl" polymorphic = "1">
    Set socket option `tcp_keepalive_intvl`.
    Available from libzmq 3.0.0.
    <argument name = "tcp keepalive intvl" type = "integer" />
</method>

<method name = "tcp accept filter" polymorphic = "1">
    Get socket option `tcp_accept_filter`.
    Available from libzmq 3.0.0.
    <return type = "string" fresh = "1" />
</method>

<method name = "set tcp accept filter" polymorphic = "1">
    Set socket option `tcp_accept_filter`.
    Available from libzmq 3.0.0.
    <argument name = "tcp accept filter" type = "string" />
</method>

<method name = "last endpoint" polymorphic = "1">
    Get socket option `last_endpoint`.
    Available from libzmq 3.0.0.
    <return type = "string" fresh = "1" />
</method>

<method name = "set router raw" polymorphic = "1">
    Set socket option `router_raw`.
    Available from libzmq 3.0.0.
    <argument name = "router raw" type = "integer" />
</method>

<method name = "ipv4only" polymorphic = "1">
    Get socket option `ipv4only`.
    Available from libzmq 3.0.0.
    <return type = "integer" fresh = "1" />
</method>

<method name = "set ipv4only" polymorphic = "1">
    Set socket option `ipv4only`.
    Available from libzmq 3.0.0.
    <argument name = "ipv4only" type = "integer" />
</method>

<method name = "set delay attach on connect" polymorphic = "1">
    Set socket option `delay_attach_on_connect`.
    Available from libzmq 3.0.0.
    <argument name = "delay attach on connect" type = "integer" />
</method>

<!-- The following socket options are available in libzmq from version 2.0.0 -->

<method name = "hwm" polymorphic = "1">
    Get socket option `hwm`.
    Available from libzmq 2.0.0 to 3.0.0.
    <return type = "integer" fresh = "1" />
</method>

<method name = "set hwm" polymorphic = "1">
    Set socket option `hwm`.
    Available from libzmq 2.0.0 to 3.0.0.
    <argument name = "hwm" type = "integer" />
</method>

<method name = "swap" polymorphic = "1">
    Get socket option `swap`.
    Available from libzmq 2.0.0 to 3.0.0.
    <return type = "integer" fresh = "1" />
</method>

<method name = "set swap" polymorphic = "1">
    Set socket option `swap`.
    Available from libzmq 2.0.0 to 3.0.0.
    <argument name = "swap" type = "integer" />
</method>

<method name = "affinity" polymorphic = "1">
    Get socket option `affinity`.
    Available from libzmq 2.0.0.
    <return type = "integer" fresh = "1" />
</method>

<method name = "set affinity" polymorphic = "1">
    Set socket option `affinity`.
    Available from libzmq 2.0.0.
    <argument name = "affinity" type = "integer" />
</method>

<method name = "identity" polymorphic = "1">
    Get socket option `identity`.
    Available from libzmq 2.0.0.
    <return type = "string" fresh = "1" />
</method>

<method name = "set identity" polymorphic = "1">
    Set socket option `identity`.
    Available from libzmq 2.0.0.
    <argument name = "identity" type = "string" />
</method>

<method name = "rate" polymorphic = "1">
    Get socket option `rate`.
    Available from libzmq 2.0.0.
    <return type = "integer" fresh = "1" />
</method>

<method name = "set rate" polymorphic = "1">
    Set socket option `rate`.
    Available from libzmq 2.0.0.
    <argument name = "rate" type = "integer" />
</method>

<method name = "recovery ivl" polymorphic = "1">
    Get socket option `recovery_ivl`.
    Available from libzmq 2.0.0.
    <return type = "integer" fresh = "1" />
</method>

<method name = "set recovery ivl" polymorphic = "1">
    Set socket option `recovery_ivl`.
    Available from libzmq 2.0.0.
    <argument name = "recovery ivl" type = "integer" />
</method>

<method name = "recovery ivl msec" polymorphic = "1">
    Get socket option `recovery_ivl_msec`.
    Available from libzmq 2.0.0 to 3.0.0.
    <return type = "integer" fresh = "1" />
</method>

<method name = "set recovery ivl msec" polymorphic = "1">
    Set socket option `recovery_ivl_msec`.
    Available from libzmq 2.0.0 to 3.0.0.
    <argument name = "recovery ivl msec" type = "integer" />
</method>

<method name = "mcast loop" polymorphic = "1">
    Get socket option `mcast_loop`.
    Available from libzmq 2.0.0 to 3.0.0.
    <return type = "integer" fresh = "1" />
</method>

<method name = "set mcast loop" polymorphic = "1">
    Set socket option `mcast_loop`.
    Available from libzmq 2.0.0 to 3.0.0.
    <argument name = "mcast loop" type = "integer" />
</method>

<method name = "rcvtimeo" polymorphic = "1">
    Get socket option `rcvtimeo`.
    Available from libzmq 2.2.0.
    <return type = "integer" fresh = "1" />
</method>

<method name = "set rcvtimeo" polymorphic = "1">
    Set socket option `rcvtimeo`.
    Available from libzmq 2.2.0.
    <argument name = "rcvtimeo" type = "integer" />
</method>

<method name = "sndtimeo" polymorphic = "1">
    Get socket option `sndtimeo`.
    Available from libzmq 2.2.0.
    <return type = "integer" fresh = "1" />
</method>

<method name = "set sndtimeo" polymorphic = "1">
    Set socket option `sndtimeo`.
    Available from libzmq 2.2.0.
    <argument name = "sndtimeo" type = "integer" />
</method>

<method name = "sndbuf" polymorphic = "1">
    Get socket option `sndbuf`.
    Available from libzmq 2.0.0.
    <return type = "integer" fresh = "1" />
</method>

<method name = "set sndbuf" polymorphic = "1">
    Set socket option `sndbuf`.
    Available from libzmq 2.0.0.
    <argument name = "sndbuf" type = "integer" />
</method>

<method name = "rcvbuf" polymorphic = "1">
    Get socket option `rcvbuf`.
    Available from libzmq 2.0.0.
    <return type = "integer" fresh = "1" />
</method>

<method name = "set rcvbuf" polymorphic = "1">
    Set socket option `rcvbuf`.
    Available from libzmq 2.0.0.
    <argument name = "rcvbuf" type = "integer" />
</method>

<method name = "linger" polymorphic = "1">
    Get socket option `linger`.
    Available from libzmq 2.0.0.
    <return type = "integer" fresh = "1" />
</method>

<method name = "set linger" polymorphic = "1">
    Set socket option `linger`.
    Available from libzmq 2.0.0.
    <argument name = "linger" type = "integer" />
</method>

<method name = "reconnect ivl" polymorphic = "1">
    Get socket option `reconnect_ivl`.
    Available from libzmq 2.0.0.
    <return type = "integer" fresh = "1" />
</method>

<method name = "set reconnect ivl" polymorphic = "1">
    Set socket option `reconnect_ivl`.
    Available from libzmq 2.0.0.
    <argument name = "reconnect ivl" type = "integer" />
</method>

<method name = "reconnect ivl max" polymorphic = "1">
    Get socket option `reconnect_ivl_max`.
    Available from libzmq 2.0.0.
    <return type = "integer" fresh = "1" />
</method>

<method name = "set reconnect ivl max" polymorphic = "1">
    Set socket option `reconnect_ivl_max`.
    Available from libzmq 2.0.0.
    <argument name = "reconnect ivl max" type = "integer" />
</method>

<method name = "backlog" polymorphic = "1">
    Get socket option `backlog`.
    Available from libzmq 2.0.0.
    <return type = "integer" fresh = "1" />
</method>

<method name = "set backlog" polymorphic = "1">
    Set socket option `backlog`.
    Available from libzmq 2.0.0.
    <argument name = "backlog" type = "integer" />
</method>

<method name = "set subscribe" polymorphic = "1">
    Set socket option `subscribe`.
    Available from libzmq 2.0.0.
    <argument name = "subscribe" type = "string" />
</method>

<method name = "set unsubscribe" polymorphic = "1">
    Set socket option `unsubscribe`.
    Available from libzmq 2.0.0.
    <argument name = "unsubscribe" type = "string" />
</method>

<method name = "type" polymorphic = "1">
    Get socket option `type`.
    Available from libzmq 2.0.0.
    <return type = "integer" fresh = "1" />
</method>

<method name = "rcvmore" polymorphic = "1">
    Get socket option `rcvmore`.
    Available from libzmq 2.0.0.
    <return type = "integer" fresh = "1" />
</method>

<method name = "fd" polymorphic = "1">
    Get socket option `fd`.
    Available from libzmq 2.0.0.
    <return type = "socket" fresh = "1" />
</method>

<method name = "events" polymorphic = "1">
    Get socket option `events`.
    Available from libzmq 2.0.0.
    <return type = "integer" fresh = "1" />
</method>