Skip to content

Commit 1c2016a

Browse files
save file
1 parent c6c3a6e commit 1c2016a

File tree

1 file changed

+49
-40
lines changed

1 file changed

+49
-40
lines changed

blog/25-12-03/unix-sockets/unix-sockets.html

Lines changed: 49 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -71,33 +71,37 @@
7171
log = mod['log-mod'];
7272

7373
ex['linux-server-js'] = mod['linux-server-js'];
74-
ex['linux-c'] = mod['linux-c'];
75-
ex['linux-js'] = mod['linux-js'];
74+
ex['linux-server-c'] = mod['linux-server-c'];
7675
ex['win-server-js'] = mod['win-server-js'];
77-
ex['win-c'] = mod['win-c'];
78-
ex['win-js'] = mod['win-js'];
76+
ex['win-server-c'] = mod['win-server-c'];
77+
78+
ex['client-win-js'] = mod['client-win-js'];
79+
ex['client-linux-c'] = mod['client-linux-c'];
7980

8081
hdr.initmod({ext,$});
8182
log.initmod({ext,$});
8283

8384
ex['linux-server-js'].initmod({ext,$,menu,ace});
84-
ex['linux-c'].initmod({ext,$,menu,ace});
85-
ex['linux-js'].initmod({ext,$,menu,ace});
85+
ex['linux-server-c'].initmod({ext,$,menu,ace});
8686
ex['win-server-js'].initmod({ext,$,menu,ace});
87-
ex['win-c'].initmod({ext,$,menu,ace});
88-
ex['win-js'].initmod({ext,$,menu,ace});
87+
ex['win-server-c'].initmod({ext,$,menu,ace});
88+
89+
ex['client-win-js'].initmod({ext,$,menu,ace});
90+
ex['client-linux-c'].initmod({ext,$,menu,ace});
8991

9092

9193
await Promise.all([
9294
hdr.init(),
9395
log.init(),
9496

9597
ex['linux-server-js'].init(),
96-
ex['linux-c'].init(),
97-
ex['linux-js'].init(),
98+
ex['linux-server-c'].init(),
9899
ex['win-server-js'].init(),
99-
ex['win-c'].init(),
100-
ex['win-js'].init(),
100+
ex['win-server-c'].init(),
101+
102+
ex['client-win-js'].init(),
103+
ex['client-linux-c'].init(),
104+
101105
]);
102106

103107

@@ -251,7 +255,6 @@ <h3>
251255
</section>
252256

253257

254-
255258
<section class=blog-text>
256259
<h3>
257260
ipc server linux c
@@ -260,29 +263,14 @@ <h3>
260263
the following sets up an ipc unix domain socket server on linux in c
261264
</p>
262265

263-
<web-editor id=linux-c src='ex/ipc-server-linux.c' fullsize component></web-editor>
266+
<web-editor id=linux-server-c src='ex/ipc-server-linux.c' fullsize component></web-editor>
264267

265268
</section>
266-
267-
269+
268270

269271
<section class=blog-text>
270272
<h3>
271-
ipc server linux nodejs
272-
</h3>
273-
<p>
274-
the following sets up an ipc unix domain socket server on linux in nodejs
275-
</p>
276-
277-
<web-editor id=linux-js src='ex/ipc-server-linux.node.js' fullsize component></web-editor>
278-
279-
</section>
280-
281-
282-
283-
<section class=blog-text>
284-
<h3>
285-
ipc win server nodejs
273+
ipc server windows nodejs
286274
</h3>
287275
<p>
288276
the following sets up an ipc named pipe server on windows in nodedjs
@@ -291,18 +279,17 @@ <h3>
291279
<web-editor id=win-server-js src='ex/ipc-server-win.node.js' fullsize component></web-editor>
292280

293281
</section>
294-
295-
282+
296283

297284
<section class=blog-text>
298285
<h3>
299-
ipc server win c
286+
ipc server windows c
300287
</h3>
301288
<p>
302289
the following sets up an ipc named pipe server on windows in c
303290
</p>
304291

305-
<web-editor id=win-c src='ex/ipc-server-win.c' fullsize component></web-editor>
292+
<web-editor id=win-server-c src='ex/ipc-server-win.c' fullsize component></web-editor>
306293

307294
</section>
308295

@@ -320,10 +307,31 @@ <h3>
320307
the following sets up a named pipe client on windows in nodejs
321308
</p>
322309

323-
<web-editor id=win-js src='ex/ipc-win.js' fullsize component></web-editor>
310+
<web-editor id=client-win-js src='ex/ipc-client-win.node.js' fullsize component></web-editor>
311+
312+
</section>
313+
314+
315+
<section class=blog-text>
316+
<h3>
317+
ipc client linux c
318+
</h3>
319+
<p>
320+
the following sets up an ipc unix domain socket client on linux in c
321+
</p>
322+
323+
<web-editor id=client-linux-c src='ex/ipc-client-linux.c' fullsize component></web-editor>
324324

325325
</section>
326326

327+
328+
329+
330+
331+
332+
333+
334+
327335

328336

329337

@@ -342,11 +350,12 @@ <h3>
342350
log.initdom();
343351

344352
ex['linux-server-js'].initdom();
345-
ex['linux-c'].initdom();
346-
ex['linux-js'].initdom();
353+
ex['linux-server-c'].initdom();
347354
ex['win-server-js'].initdom();
348-
ex['win-c'].initdom();
349-
ex['win-js'].initdom();
355+
ex['win-server-c'].initdom();
356+
357+
ex['client-win-js'].initdom();
358+
ex['client-linux-c'].initdom();
350359

351360

352361
}//initdom

0 commit comments

Comments
 (0)