Project

General

Profile

Actions

Feature #2189

closed

Pick Transport type with client.conf

Added by Junxiao Shi over 9 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Base
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:
3.00 h

Description

Add a transport option to client.conf.

Its value is a FaceUri that represents a listener. This FaceUri does not have to be canonical.

To pick UnixTransport: transport=unix:///var/run/nfd.sock

Path can be changed if necessary.

To pick TcpTransport: transport=tcp://localhost:6363

Port can be changed if necessary.
"tcp://localhost" is recommended; other variants such as "tcp4://127.0.0.1" or "tcp6://[::1]" is acceptable but not recommended.
Connecting to a non-local endpoint is unsupported but not forbidden.

The default constructor of Face class should respect this configuration, instead of always creating UnixTransport.


Related issues 2 (0 open2 closed)

Related to NFD - Bug #2360: Multiple scenarios: ERROR: error while connecting to the forwarder (No such file or directory)ClosedHila Ben Abraham01/08/2015

Actions
Blocks NFD - Bug #2190: NRD cannot start when NFD disables UNIX facesClosed

Actions
Actions

Also available in: Atom PDF