Nodejs unix socket udp .

problem description

Does

nodejs have functions like php"s socket_create (AF_UNIX, SOCK_DGRAM, 0)?

function:
using udp protocol connet unix socket

for example, I have a udp service that listens to the native / tmp/my.sock file

how to use node.js to do client links and send data.

if it is a listening port, you can use
const dgram = require ("dgram");
const client = dgram.createSocket (" udp4");
client.send (msg, port, ip);

now the requirement is to link / tmp/my.sock the unix socket file

I tried net.createConnection. I don"t seem to be able to use udp for this.

Jan.20,2022
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1ea5c48-5cb9e.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1ea5c48-5cb9e.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?