File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -36,6 +36,8 @@ Note that `SOCK_SEQPACKET` sockets don't work on MacOS.
36
36
37
37
### Example
38
38
39
+ [ Online Example] ( https://codesandbox.io/s/node-unix-seqpacket-socket-n3hd8l?file=/index.js )
40
+
39
41
``` js
40
42
const { SeqpacketServer , SeqpacketSocket } = require (' node-unix-socket' );
41
43
const os = require (' os' );
@@ -71,6 +73,8 @@ client.connect(bindPath, () => {
71
73
72
74
### Example
73
75
76
+ [ Online Example] ( https://codesandbox.io/s/node-unix-dgram-socket-76cyyu?file=/index.js )
77
+
74
78
``` js
75
79
const { DgramSocket } = require (' node-unix-socket' );
76
80
const os = require (' os' );
@@ -121,6 +125,8 @@ Note that `SO_REUSEPORT` might behave much differently across operating systems.
121
125
122
126
### Example
123
127
128
+ [ Online Http Server Example] ( https://codesandbox.io/s/node-so-reuseport-net-server-no9mvm?file=/index.js )
129
+
124
130
``` js
125
131
const { createReuseportFd } = require (' node-unix-socket' );
126
132
const { Server , Socket } = require (' net' );
You can’t perform that action at this time.
0 commit comments