aboutsummaryrefslogtreecommitdiff
path: root/src/nng.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nng.c')
-rw-r--r--src/nng.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/nng.c b/src/nng.c
index c6dfb7f4..28da1f20 100644
--- a/src/nng.c
+++ b/src/nng.c
@@ -260,6 +260,13 @@ nng_listen(nng_socket sid, const char *addr, nng_endpoint *epp, int flags)
int
+nng_endpoint_close(nng_endpoint eid)
+{
+ // XXX: FIXME: lookup endpoint by id, and then close it.
+ return (NNG_ENOTSUP);
+}
+
+int
nng_setopt(nng_socket sid, int opt, const void *val, size_t sz)
{
nni_sock *sock;