Tcpclient send Hex

Sergio Luiz

Member
Joined
Feb 20, 2020
Messages
10
Location
Brazil - Sâo Paulo - SP
Programming Experience
5-10
Good afternoon everyone,
I have a string with a fixed Hex value (example: "02 F0 32 03 27") as send in a TCPClient communication. open and close the communication I know.

Thanks
 
Firstly, what do you actually want to send? Do you actually want to send that text? If so then it's just like sending any other text.

That said, I suspect that that's not actually what you want. Hex data like that is usually used to represent binary data, where each pair of hexadecimal digits represents one byte. That's the very reason that hex is used. If you actually want to send the byte values represented by those hexadecimal numbers then that is something different.
 
Back
Top