I am doing network programming in C. I want to send Hexadecimal data between client and server. But stuck how C handles Hexadecimal values? I would like to put and example.
I am having a variable ACK_CODE 0*81. Now want to send it. Since the send call can only receive String data then how we can send the above code in send()? Also how to retrieve that back into Hexadecimal from String in recv() call?
Can anyone help me in this regard?