aboutsummaryrefslogtreecommitdiff
path: root/src/core/stream.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/stream.c')
-rw-r--r--src/core/stream.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/core/stream.c b/src/core/stream.c
index 2112f5ef..9309a3a0 100644
--- a/src/core/stream.c
+++ b/src/core/stream.c
@@ -32,7 +32,23 @@ static struct {
.listener_alloc = nni_ipc_listener_alloc,
.checkopt = nni_ipc_checkopt,
},
+#ifdef NNG_PLATFORM_POSIX
{
+ .scheme = "unix",
+ .dialer_alloc = nni_ipc_dialer_alloc,
+ .listener_alloc = nni_ipc_listener_alloc,
+ .checkopt = nni_ipc_checkopt,
+ },
+#endif
+#ifdef NNG_HAVE_ABSTRACT_SOCKETS
+ {
+ .scheme = "abstract",
+ .dialer_alloc = nni_ipc_dialer_alloc,
+ .listener_alloc = nni_ipc_listener_alloc,
+ .checkopt = nni_ipc_checkopt,
+ },
+#endif
+ {
.scheme = "tcp",
.dialer_alloc = nni_tcp_dialer_alloc,
.listener_alloc = nni_tcp_listener_alloc,