TCPIP_TFTPC_SetServerAddress Function

C

void TCPIP_TFTPC_SetServerAddress(
    IP_MULTI_ADDRESS* ipAddr, 
    IP_ADDRESS_TYPE ipType
);

Description

This function is used to set the TFTP server address (either it will be IPv4 address or IPv5 address). This address will be used for either GET or PUT mode of TFTP client operation.

Preconditions

The TFTP client module must be initialized.

Parameters

ParametersDescription
ipAddrPointer to the server address.
ipTypeType of address: IPv4/IPv6.

Returns

None.

Remarks

None.