Example in python can be seen here: https://github.com/Descent098/ezcv-http/tree/main/socket%20testing
Uses ezcv to generate html and then sockets as the http server
Networking data is in big endian, meaning the integers in hex values go from left to right
So for example int x = 0xAABBCCDD
would be understood as AA, BB, CC, DD (where each 2 letters is a byte value)
In some host systems they operate using little endian meaning the order is reversed DD, CC, BB, AA and the values need to be reversed before being sent