| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 94952b4 commit 6693b40
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1064,8 +1064,7 @@ client.on('end', () => { | |||
| 1064 | 1064 | }); | |
| 1065 | 1065 | ``` | |
| 1066 | 1066 | ||
| 1067 | - To connect on the socket `/tmp/echo.sock` the second line would just be | ||
| 1068 | - changed to: | ||
| 1067 | + To connect on the socket `/tmp/echo.sock`: | ||
| 1069 | 1068 | ||
| 1070 | 1069 | ```js | |
| 1071 | 1070 | const client = net.createConnection({ path: '/tmp/echo.sock' }); | |
@@ -1174,8 +1173,7 @@ Test this by using `telnet`: | |||
| 1174 | 1173 | $ telnet localhost 8124 | |
| 1175 | 1174 | ``` | |
| 1176 | 1175 | ||
| 1177 | - To listen on the socket `/tmp/echo.sock` the third line from the last would | ||
| 1178 | - just be changed to: | ||
| 1176 | + To listen on the socket `/tmp/echo.sock`: | ||
| 1179 | 1177 | ||
| 1180 | 1178 | ```js | |
| 1181 | 1179 | server.listen('/tmp/echo.sock', () => { | |
| Back | FazBrowse Home | New Git URL |
0 commit comments