Rating:

like IoT challenge you can find the right function in the same link below:
https://techtutorialsx.com/2017/04/09/esp8266-connecting-to-mqtt-broker/
flag is **client.connect()**