How does RV(R)D determine which IP address to bind to?

How does RV(R)D determine which IP address to bind to?

book

Article ID: KB0092546

calendar_today

Updated On:

Products Versions
TIBCO Rendezvous -
Not Applicable -

Description

Resolution:
When rv(r)d starts, it binds to the default IP address of the system.  The default IP address is the address (returned by gethostbyname system call) associated with the hostname (returned by gethostname system call) of the machine.  If you run "iniftst" (located in the &ltTIB/RV_HOME>/bin directory), you will see a list of all the interfaces on your machine and the one rv(r)d will use as default (IP address: ).

The only way to start rv(r)d and specify a different network other than as determined by gethostname and gethostbyname is to use the –listen parameter.

    rvrd –listen &ltip_address>:&lttcp_port> -store &ltfilename>

The &ltip_address> specifies the network interface through which this daemon accepts TCP connections.

Issue/Introduction

How does RV(R)D determine which IP address to bind to?