Hex packets over Wifi : Send Receive Question

how this is done depends on the type of micro-controller that you are using.
So please post the exact name of microcontroller / your microcontroller-board.

best regards Stefan