forked from zeromq/clrzmq4
-
Notifications
You must be signed in to change notification settings - Fork 4
/
ZSocketOption.cs
91 lines (89 loc) · 1.89 KB
/
ZSocketOption.cs
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
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Runtime.InteropServices;
namespace ZeroMQ
{
public enum ZSocketOption : int
{
AFFINITY = 4,
IDENTITY = 5,
SUBSCRIBE = 6,
UNSUBSCRIBE = 7,
RATE = 8,
RECOVERY_IVL = 9,
SNDBUF = 11,
RCVBUF = 12,
RCVMORE = 13,
FD = 14,
EVENTS = 15,
TYPE = 16,
LINGER = 17,
RECONNECT_IVL = 18,
BACKLOG = 19,
RECONNECT_IVL_MAX = 21,
MAX_MSG_SIZE = 22,
SNDHWM = 23,
RCVHWM = 24,
MULTICAST_HOPS = 25,
RCVTIMEO = 27,
SNDTIMEO = 28,
LAST_ENDPOINT = 32,
ROUTER_MANDATORY = 33,
TCP_KEEPALIVE = 34,
TCP_KEEPALIVE_CNT = 35,
TCP_KEEPALIVE_IDLE = 36,
TCP_KEEPALIVE_INTVL = 37,
IMMEDIATE = 39,
XPUB_VERBOSE = 40,
ROUTER_RAW = 41,
IPV6 = 42,
MECHANISM = 43,
PLAIN_SERVER = 44,
PLAIN_USERNAME = 45,
PLAIN_PASSWORD = 46,
CURVE_SERVER = 47,
CURVE_PUBLICKEY = 48,
CURVE_SECRETKEY = 49,
CURVE_SERVERKEY = 50,
PROBE_ROUTER = 51,
REQ_CORRELATE = 52,
REQ_RELAXED = 53,
CONFLATE = 54,
ZAP_DOMAIN = 55,
ROUTER_HANDOVER = 56,
TOS = 57,
CONNECT_RID = 61,
GSSAPI_SERVER = 62,
GSSAPI_PRINCIPAL = 63,
GSSAPI_SERVICE_PRINCIPAL = 64,
GSSAPI_PLAINTEXT = 65,
HANDSHAKE_IVL = 66,
IDENTITY_FD = 67,
SOCKS_PROXY = 68,
XPUB_NODROP = 69,
BLOCKY = 70,
XPUB_MANUAL = 71,
XPUB_WELCOME_MSG = 72,
STREAM_NOTIFY = 73,
INVERT_MATCHING = 74,
HEARTBEAT_IVL = 75,
HEARTBEAT_TTL = 76,
HEARTBEAT_TIMEOUT = 77,
XPUB_VERBOSE_UNSUBSCRIBE = 78,
CONNECT_TIMEOUT = 79,
TCP_RETRANSMIT_TIMEOUT = 80,
THREAD_SAFE = 81,
/* Deprecated options and aliases */
TCP_ACCEPT_FILTER = 38,
IPC_FILTER_PID = 58,
IPC_FILTER_UID = 59,
IPC_FILTER_GID = 60,
IPV4_ONLY = 31,
DELAY_ATTACH_ON_CONNECT = 39, // IMMEDIATE,
NOBLOCK = 1, // DONTWAIT,
FAIL_UNROUTABLE = 33, // ROUTER_MANDATORY,
ROUTER_BEHAVIOR = 33, // ROUTER_MANDATORY,
}
}