Jump to main content

##

# TCPIP_TFTPS_Enable Function

## C

    bool TCPIP_TFTPS_Enable(TCPIP_NET_HANDLE hNet, IP_ADDRESS_TYPE ipType);

## Returns

- true - if successful
- false - if unsuccessful, if server open fails for this interface.

## Description

This function enables the TFTP server for the specified interface and it opens the TFTP server with specific IP address TYPE.

## Remarks

None.

## Preconditions

The TFTPS module should have been initialized.

## Parameters

Parameters | Description
--- | ---
hNet | Interface to enable
ipType | Interface address type. Depends on the enum type of IP_ADDRESS_TYPE bool TCPIP_TFTPS_Enable( TCPIP_NET_HANDLE hNet,IP_ADDRESS_TYPE ipType)