Open uberlinuxguy opened 11 years ago
Changed 3 weeks ago by uberlinuxguy
so the 0.0.0.0 bind trick didn't work so I fixed their code and added:
netiface_command ::= 'sv.network.iface'
Per CrazySpence, there is an issue with the code on Mac, the ioctl() call appears to not work the same or I'm not traversing the array of interfaces right. Will investigate further when I get access to a Mac.
bumping this to 1.0 for now. Seems to be a bit tricky and I need a Mac to test this before I implement it.
Currently the server only binds to the first or last interface it sees. Needs to have a config option setup for it and keep track of a list of interfaces internally.