ChicagoBoss/ChicagoBoss — pull request #390 by yannickg (2014-01-03 20:11:10+00:00)
Title: made ip address to bind to configurable

In some special cases, I needed to configure CB (therefore Cowboy) to listen to specific IP addresses, this patch addresses this.

Note: This patch will only work if ip is IPv4 address. I wasn't able to make it work for IPv6 just yet. The gen_tcp:listen() API expects an IP address in the inet:ip_address() format (a tuple). Not specifying anything in boss.config will result in CB listening to all interfaces (this is the current behaviour before applying this patch).