diff options
| author | Garrett D'Amore <garrett@damore.org> | 2017-01-21 20:16:02 -0800 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2017-01-21 20:16:02 -0800 |
| commit | 68e2aea44d766c6dbe438642d2591875602c78b4 (patch) | |
| tree | 5f5c2db8b976e940305ba8d911208b613e578476 /src/protocol/pair/pair.c | |
| parent | c9593dfc5796a98b94ef516fce662f2e040acffe (diff) | |
| download | nng-68e2aea44d766c6dbe438642d2591875602c78b4.tar.gz nng-68e2aea44d766c6dbe438642d2591875602c78b4.tar.bz2 nng-68e2aea44d766c6dbe438642d2591875602c78b4.zip | |
Added protocol flags (which ones can send, and which can receive).
Diffstat (limited to 'src/protocol/pair/pair.c')
| -rw-r--r-- | src/protocol/pair/pair.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/protocol/pair/pair.c b/src/protocol/pair/pair.c index d6c2eedf..fe0874ca 100644 --- a/src/protocol/pair/pair.c +++ b/src/protocol/pair/pair.c @@ -233,6 +233,7 @@ nni_proto nni_pair_proto = { .proto_self = NNG_PROTO_PAIR, .proto_peer = NNG_PROTO_PAIR, .proto_name = "pair", + .proto_flags = NNI_PROTO_FLAG_SENDRECV, .proto_sock_ops = &nni_pair_sock_ops, .proto_pipe_ops = &nni_pair_pipe_ops, }; |
