Skip to content

Commit f75d902

Browse files
committed
docs: update online examples
1 parent b77d478 commit f75d902

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ Note that `SOCK_SEQPACKET` sockets don't work on MacOS.
3636

3737
### Example
3838

39+
[Online Example](https://codesandbox.io/s/node-unix-seqpacket-socket-n3hd8l?file=/index.js)
40+
3941
```js
4042
const { SeqpacketServer, SeqpacketSocket } = require('node-unix-socket');
4143
const os = require('os');
@@ -71,6 +73,8 @@ client.connect(bindPath, () => {
7173

7274
### Example
7375

76+
[Online Example](https://codesandbox.io/s/node-unix-dgram-socket-76cyyu?file=/index.js)
77+
7478
```js
7579
const { DgramSocket } = require('node-unix-socket');
7680
const os = require('os');
@@ -121,6 +125,8 @@ Note that `SO_REUSEPORT` might behave much differently across operating systems.
121125

122126
### Example
123127

128+
[Online Http Server Example](https://codesandbox.io/s/node-so-reuseport-net-server-no9mvm?file=/index.js)
129+
124130
```js
125131
const { createReuseportFd } = require('node-unix-socket');
126132
const { Server, Socket } = require('net');

0 commit comments

Comments
 (0)