setting a hostname with REV2

I can do it with the esp8266 devices but not this REV2 and it is really handy in finding my device from the list of devices I see when I log on to my home router. I googled all the stuff that is in the various .h files and have not found anything that works.

Does anyone know if it is possible and what function is required?

Thanks as always.

REV2 what?

Arduino wifi rev2