Closed GoogleCodeExporter closed 9 years ago
Binding to IP is actually implemented. I just have checked wiki documentation
and
found out that it has not been synced with the latest version, I will do it
shortly.
Please use "mongoose -ports ip1:port1,ip2:port2,..."
Reopen the bug if it does not work.
Original comment by valenok
on 22 May 2009 at 7:16
I'm guessing this means it's bound by IP only, and not by interface.
In other words, I can either use this feature or DHCP, but not both unless I
use
static DHCP assignments to make sure the interface it's bound to keeps on being
assigned the IP address in the config file...
That's fine, but I just wanted to clarify.
Hmm... I wonder... a utility to rewrite the config file to adjust the IP
address
based on the assigned one for a given interface... Nah... too messy... :)
Original comment by roza.cho...@gmail.com
on 22 May 2009 at 7:32
Aha. Using Google Code for the first time, and hadn't noticed it was open
issues
only. I see that this was already flagged and discussed in issue #29.
Original comment by roza.cho...@gmail.com
on 22 May 2009 at 7:35
Yeah, you need to have static IP assignment.
For dynamic IP assignment, you would need to patch main.c to periodically
resolve
your own hostname, and if IP changes, do mg_set_option(... new_ip_address..) .
Original comment by valenok
on 22 May 2009 at 8:49
Original issue reported on code.google.com by
roza.cho...@gmail.com
on 22 May 2009 at 7:10