I want to print character string in hex format,
on machine A , something like
ori_mesg = gen_rdm_bytestream (1400,seed)
sendto(machine B, ori_mesg, len(m
Yup, always print string in hex format as:
for(i=0;till string length;i++)
printf("%02X",(unsigned char)str[i]);
you will get error when you try to print
the whole string in one go and when printing Hex string character by character which using 'Unsigned char' if the string is in format other than 'Unsigned char'