I need to send a signed short integer but the sendto
function requires me to give a char buffer.
The buffer: char SendBuffer[1024];
I was thinking of making the integer into a string and storing it like that but I am wondering if there is a better way to do it.