How to connect Wi-Fi (esp32)board with pc?

My board is Spartan 7 model xc7s15ftgb196-1 .

I want to connect the board to my pc via wifi (esp32) given on board itself . I want to send 2 bytes of data from pc and FPGA board receive this data and do addition operation and resend the result to pc.
Please help me how to do it.
Do I need to put FPGA board on Arduino mode and then only I can use wifi ?