www.beck-ipc.com

@CHIP-RTOS C Library - TCP/IP API


GetDefaultGateway

Get the current default gateway.

int GetDefaultGateway ( unsigned long far *Gateway,
                        int *error );

Parameters

Gateway

Output parameter:  Pointer to where the gateway IP will be written in network byte order.

error

Output parameter:  Failure code, 0 on success.

Return Value

0: success
-1: See reported error code.

See Also

RTOS API

This library function invokes a RTOS software interrupt. Refer to this RTOS API function's documentation for more details.

Related Topics

[IP]   GATEWAY CHIP.INI entry

Supported since or modified in @CHIP-RTOS version

    SC12SC13SC11SC1x3SC2x
    V1.00V1.00V1.00V0.90V1.00

This API List
List of C Libraries
@CHIP-RTOS Main Index


End of document