equal
deleted
inserted
replaced
26 |
26 |
27 namespace relpipe { |
27 namespace relpipe { |
28 namespace out { |
28 namespace out { |
29 namespace socket { |
29 namespace socket { |
30 |
30 |
31 namespace options { |
|
32 static const char OPTION_PROTOCOL[] = "protocol"; |
|
33 static const char OPTION_ROLE[] = "role"; |
|
34 static const char OPTION_MODE[] = "mode"; |
|
35 static const char OPTION_HOST[] = "host"; |
|
36 static const char OPTION_PORT[] = "port"; |
|
37 static const char OPTION_PATH[] = "path"; |
|
38 |
|
39 static const char PROTOCOL_TCP[] = "tcp"; |
|
40 static const char PROTOCOL_UDP[] = "udp"; |
|
41 static const char PROTOCOL_UDS[] = "uds"; |
|
42 static const char PROTOCOL_SCTP[] = "sctp"; |
|
43 |
|
44 static const char ROLE_CLIENT[] = "client"; |
|
45 static const char ROLE_SERVER[] = "server"; |
|
46 |
|
47 static const char MODE_STREAM[] = "stream"; |
|
48 static const char MODE_DATAGRAM[] = "datagram"; |
|
49 } |
|
50 |
31 |
51 class Configuration { |
32 class Configuration { |
52 public: |
33 public: |
53 |
34 |
54 class SocketOption { |
35 class SocketOption { |