Broadcast address patch and interface selection fix
Broadcast address patch and interface selection fix

On Ubunutu 11.10 Server the broadcast address returned by getifaddrs() is
the same as the interface address. This patch derives the broadcast address
from the interface address and the netmask if this occurs.

Also fixed bug that would potentially choose the wireless interface over
the specified interface if it was encountered first.
Merge pull request #270 from shubred1/master

zbeacon broadcast address patch and interface selection fix
Removed assert from zbeacon_test() that caused failure on TravisCI machine
Merge pull request #272 from shubred1/master

Removed assert from zbeacon_test() that caused failure on TravisCI machine
﻿make zbeacon interface selection more robust

* Bug fix: s_get_interface() was checking for NULL pointer instead
  of empty string to determine if the interface was set.

* If the interface isn't set then the source address and thus the
  hostname wasn't being populated. Now if there is only one IP
  address on the it is set as source address; otherwise it is set
  to INADDR_ANY.

* Commented out s_wireless_nic() function and removed call to it as
  it was not doing anything. Previous to pull request #264 it would
  "select" the wireless interface or the specified interface,
  whichever was encountered first (bug). But right after that the
  broadcast address was being hard coded to INADDR_BROADCAST which
  nullified the selected address/interface.
Added work-around for missing `strndup()` on Windows with MS runtime.
Merge pull request #275 from woldan/master

Added work-around for missing `strndup()` on Windows with MS runtime.
Merge pull request #273 from shubred1/master

﻿make zbeacon interface selection more robust
Added silent rules to build process
Generating all project files from single XML model now

- using same GSL approach as for socket options
- everything is in model/ directory, see model/README.txt
- support added for Android, MingW32, MSVC, CMake
- quite possibly I've damaged MSVC project files
Updated README on adding new classes
Simplified zrex API and added zrex_eq()
Removed use of strndup and non-portable code
Merge branch 'master' of github.com:hintjens/czmq