Skip to content
  • Mike Hibler's avatar
    New environment variable LIBNETMON_CONNECTTIMO to control how many times · d311c511
    Mike Hibler authored
    libnetmon will attempt to connect to the monitor before giving up.
    It used to try once and give up (still the default behavior).  Set this
    to N to try N times one second apart or 0 to try forever.
    
    If you start your app automatically from the ns/template, then you can
    set a value in the ns file with either:
    	set opt(LIBNETMON_CONNECTTIMO) 10
    for the "old school" ns file, or:
    	$ns define-template-parameter LIBNETMON_CONNECTTIMO 10
    in a template.  Note that this will only work if you fire your app via
    the program agent, otherwise you won't get the environment variable.
    d311c511