From ec2b1275153487fda661942d9b98aab2567b612e Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Mon, 2 Jan 2017 14:37:42 -0800 Subject: Begin testing REQ/REP. --- src/nng.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/nng.c') diff --git a/src/nng.c b/src/nng.c index 3923480d..79069723 100644 --- a/src/nng.c +++ b/src/nng.c @@ -57,6 +57,14 @@ nng_protocol(nng_socket *s) } +uint16_t +nng_peer(nng_socket *s) +{ + NNI_INIT_VOID(); + return (nni_sock_peer(s)); +} + + int nng_recvmsg(nng_socket *s, nng_msg **msgp, int flags) { -- cgit v1.2.3-70-g09d2