Your company here, and a link to your site. Click to find out more.

nn_env - Man Page

nanomsg environment variables


Environment variables that influence the way nanomsg works


This functionality is experimental and a subject to change at any time

Following environment variables are used to turn on some debugging for any nanomsg application. Please, do not try to parse output and do not build business logic based on it.


If set to a non-empty string nanomsg will print errors to stderr. Some errors will be resolved by nanomsg itself (e.g. if nanomsg can’t establish connection it will retry again in a moment). Some depend on the environment (e.g. port that is bound by another process need to be released). In any case nanomsg will not repeat the error message until error is clear and appear again (e.g. connection established then broken again).


The output of the debugging facility (NN_PRINT_ERRORS) is intended for reading by a human and a subject for change at any time (even after 1.0 release).

See Also



Paul Colomiets

Referenced By

nanomsg(7), nn_getsockopt(3), nn_setsockopt(3).

2024-01-25 nanomsg 1.1.5