This flags replaces isPermanent flag in datagram faces, but with the
reversed logic (isPermanent = !isOnDemand)
Change-Id: I37ba604e5f105ca95a79a08b8cfc3d640df8b412
Refs: #1376
boost::ip::address::is_loopback method appeared only in Boost 1.47.
This commit enables the same functionality for earlier versions of
boost, based on implementation in 1.55.
Change-Id: I571408fc7db44eebd14405e7b7a9810b5d061802
LocalControlHeader can only be used on faces that are derived from
LocalFace. UnixStreamFace is directly inherited from LocalFace,
TCP face has two specializations: generic TcpFace (strictly not local),
and LocalTcpFace.
refs #1213
Change-Id: I8a158c3bc4bb929eedd15757cfddecc0d1049f9f
Also, this commit includes more thorough test for TCP channel (testing
if multiple connections can be made to the same channel).
Change-Id: I3b89a6d994b5b17286448013aa04a77c92c0267a
refs: #1134
Also, this commit imports used classes from ::ndn namespace (from
NDN-CPP library) directly to ::nfd namespace.
refs: #1163
Change-Id: I9cc9d72e00af495b4ed0c84e6d418a7c9ba986cb
If connect operation requested twice for the same remote endpoint (and
the first connection was successful), the second request will call
FaceCreated callback immediately (or after endpoint resolution) with the
previously created face.
refs: #1132, #1134
Change-Id: I5f7e5237a42289a96d7fd9d16bda47fc7cda4dfc