Hi Paul
As long as the project has Ethernet and TCP enabled you only need to set USE_TIME_SERVER.
The connection attempt is made once the board starts and is controlled in application.c.
The first attempt takes place when the task is first called - see fnValidatedInit(). If the IP settings are not yet validtated this won't take place, but that is an exception.
It connects with fnTCP_Connect(TIME_TCP_socket, (unsigned char *)&ucTimeServers[ucTimeServerTry++], TIME_PORT, 0, 0);
and will repeat a few times for the first server until it gets a response. (Search for fnTCP_Connect() in application.c to see the locations).
If there is no answer from the first server it will work through the list
static const unsigned char ucTimeServers[NUMBER_OF_TIME_SERVERS][IPV4_LENGTH];
Once the time has been received it is finished (the time may be displayed on an LCD or shown on a web page, etc. depending on which options are enabled in the project).
In some cases one would like this to be repeated at regular intervals and so resetting the server list (ucTimeServerTry = 0) and recalling fnTCP_Connect(TIME_TCP_socket, (unsigned char *)&ucTimeServers[ucTimeServerTry++], TIME_PORT, 0, 0); would restart the procedue at a later time.
Regards
Mark
P.S. Note that this will be an external TCP connection and so, when monitoring with Wireshark, it will need to be using a hub or correctly configured managed switch so that the traffic can be seen.