Callback_dhcp_pre_clear_ip()

Top  Previous  Next

Description:

Callback procedure, informs that the DHCP library will set the specified interface's IP address to 0.0.0.0. Procedure body has to be created elsewhere in the project (externally with respect to the library).

Syntax:

sub callback_dhcp_pre_clear_ip(interface as pl_sock_interfaces)

Returns:

---

See Also:

Step-by-step Usage Instructions, Operation Details

 


Part

Description

interface

Network interface on which the library will set the IP to 0.0.0.0:

1- PL_SOCK_INTERFACE_NET: Ethernet (net.) interface.

2- PL_SOCK_INTERFACE_WLN: Wi-Fi (wln.) interface.

Details

This procedure will only be called if the IP address is not already set to 0.0.0.0.