Hello!
I'm struggling with
Node ID as absolutely correct, I can both
How to correctly construct payload for
I'm struggling with
ngctl
to enable SO_REUSEPORT
on ksocket(inet/dgram/udp)
.Node ID as absolutely correct, I can both
bind
and connect
- but I can't setopt
.
Bash:
# node: is of type ksocket inet/dgram/udp
# Works
ngctl msg node: bind inet/127.0.0.1:5000
# Works
ngctl msg node: connect inet/127.0.0.1:5001
# No idea how to correctly construct message for setsockopt()
# Level is 0xFFFF (SOL_SOCKET)
# Name is 0x200 (SO_REUSEPORT)
# Value is 1 (enable)
ngctl -d msg node: setopt '{level=0xffff name=0x200 data=[1]}'
# ngctl: sendto(node:): No such file or directory
# ngctl: send msg: No such file or directory
How to correctly construct payload for
setopt
message? Error doesn't change regardless of addressing (relative, absolute, by id).