tfDhcpConfInformRefresh

Jump to: navigation, search

Table of Contents >> Optional Protocols >> DHCP Automatic Configuration


#include <trsocket.h>


int tfDhcpConfInformRefresh (
ttUserInterface interfaceHandle,
int multiHomeIndex
);


Function Description

Allow the user to manually refresh the DHCP configuration parameters that were previously obtained with a DHCPINFORM request. Since no lease time is provided with an information-only server response, the parameters returned never undergo automatic renewal. If the user wishes to periodically refresh the DHCP configuration parameters or suspects that the parameters may no longer be valid (e.g. link change), the user can call this function and wait for the DHCP notification of completion.


Parameters

  • interfaceHandle
    The device entry as returned by tfAddInterface().
  • multiHomeIndex
    Index of the DHCP autoconfigured IPv4 address on interfaceHandle.


Returns

  • TM_ENOERROR
    Success.
  • TM_EINPROGRESS
    No error. Operation is in progress. User will be notified.
  • TM_EINVAL
    Invalid parameter.
  • TM_EPERM
    Operation not permitted in current state.


Table of Contents >> Optional Protocols >> DHCP Automatic Configuration