title: Poco library issues "Address family not supported" under FreeBSD
body: <p>We are exploring poco (pocoproject.org) library's HTTP server example. On windows it runs well but on FreeBSD issues "Address family not supported". On FreeBSD we used dynamic linking of installed via pkg poco-1.7.8</p>
  
  <p>Source of this sample: 
  <a href="https://github.com/toggl/toggldesktop/blob/master/third_party/poco/Net/samples/HTTPFormServer/src/HTTPFormServer.cpp" rel="nofollow noreferrer">https://github.com/toggl/toggldesktop/blob/master/third_party/poco/Net/samples/HTTPFormServer/src/HTTPFormServer.cpp</a></p>
  
  <p>Any suggestions how we can fix it?</p>
  
  <p>----- Update:</p>
  
  <p>Original sample uses ipv4.</p>
  
  <p>Same issue when I create ipv6 socket as follows:</p>
  
  <pre><code>        Poco::Net::SocketAddress addr("[fe80::a00:27ff:feb7:6b1a]:9980");
  
          if (addr.family() == static_cast&lt;Poco::Net::IPAddress::Family&gt;(Poco::Net::Impl::IPAddressImpl::IPv6)) {
              std::cout &lt;&lt; "Addr: ipv6 " &lt;&lt; std::endl;
          }
          else if (addr.family() == static_cast&lt;Poco::Net::IPAddress::Family&gt;(Poco::Net::Impl::IPAddressImpl::IPv4)) {
              std::cout &lt;&lt; "Addr: ipv4 " &lt;&lt; std::endl;
          }
          else {
              std::cout &lt;&lt; "Addr: something else (err)." &lt;&lt; std::endl;
          }
  
          // set-up a server socket
          ServerSocket svs(addr);
  </code></pre>
  
  <p>Output</p>
  
  <pre><code>    Addr: ipv6
      Net Exception: Address family not supported
  </code></pre>