truedat101 / jumbosocket

A simple little server for creating big ideas with Node.js + Socket.io. Serve static || dynamic + Socket.io apps.
https://github.com/truedat101/jumbosocket
4 stars 1 forks source link

Config should enable preference of network interface to bind and return as the IP Address #9

Open truedat101 opened 10 years ago

truedat101 commented 10 years ago

On Linux, we typically want eth0 or eth1, or wlan0. On Mac, the interface will have a name like en0. On Windows, these are very long names, usually "Local Area Connection N" or "WiFi".

User of the server should be able to specify when binding they want, so if we check out IP address, it's returning the preferred address.