hs.socket and hs.socket.udp listens on all interfaces
cfal opened this issue · comments
cfal commented
neither TCP or UDP server sockets allow binding to a specific interface or address, eg https://github.com/Hammerspoon/hammerspoon/blob/master/extensions/socket/libsocket_udp.m#L209
it would be nice to support listening on a specific interface, eg communication on a bridge interface with a VM without exposing the server to the outside world.