You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've hit another scenario where I'm trying this... I had hoped to write log messages directly to the /run/systemd/journal/socketAF_UNIX/SOCK_DGRAM socket. As far as I can tell, the newish Bun.udpSocket API doesn't support this.
I did see that underlying uSockets library already supports this (uNetworking/uSockets#178) so maybe not a big ask to expose?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I've hit another scenario where I'm trying this... I had hoped to write log messages directly to the
/run/systemd/journal/socket
AF_UNIX/SOCK_DGRAM
socket. As far as I can tell, the newish Bun.udpSocket API doesn't support this.I did see that underlying uSockets library already supports this (uNetworking/uSockets#178) so maybe not a big ask to expose?
EDIT:
more discovery...
this is exactly it: https://www.npmjs.com/package/unix-dgram, but is unfortunately using
nan
Node/libuv’s builtin IPC support (https://nodejs.org/api/net.html#net_ipc_support) creates only streaming sockets
socket(AF_UNIX, SOCK_STREAM)
Beta Was this translation helpful? Give feedback.
All reactions