tf6GetDefaultGateway

Jump to: navigation, search

Table of Contents >> IPv6 Programmer's Reference


#include <trsocket.h>


int tf6GetDefaultGateway (
ttUserInterface interfaceHandle
);
Conditional parameter. See details in Parameters below.


Function Description

This function only supports IPv6. This function is used to get the active IPv6 default gateway.



Parameters



Returns

  • TM_ENOERROR
    Success.
  • TM_EINVAL
    This indicates failure. Invalid arguments were found in the call.
  • TM_ENOENT
    No default IPv6 gateway address was found.


Table of Contents >> IPv6 Programmer's Reference