I want to send raw data over WiFi to my PC

I want to send uint8_t structured IPv4 packet directly throught ESP32 to Laptop using inbuilt WiFi.

I also tried to sniff HTTP request sent by ESP32 to laptop and noticed Ethernet II header.
It'll be even better if I can send Ethernet II packet directly.

Side Note:-
I'm using ESP32.
I recently started to study about networking. I'm new to it.

Thank you