How does rvd detect network interfaces?

How does rvd detect network interfaces?

book

Article ID: KB0085036

calendar_today

Updated On:

Products Versions
TIBCO Rendezvous -
Not Applicable -

Description

Resolution:
To determine the IP address of the machine where the daemon is running we use the following method:

1) Retrieve IP information for all network interfaces; on Windows this is done using the registry.
2) Retrieve host name using gethostname
    => prints "Hostname: &ltname retrieved>"
3) Resolve the host name retrieved in 1) using gethostbyname
    => prints "Hostname IP address: &ltip address retrieved>"
4) List all network interface addresses and verify that the host name of the machine matches one of the interfaces
    => prints "Detected IP interface: &ltip address of interface (name of interface)  >"

Issue/Introduction

How does rvd detect network interfaces?