Hello ev’rybody!.
I use sento() function to transmit data via UDP Protocol. This is the function: sendto(sock,buffer,size,0,…). If buffer is cont char (exam buffer=“string”), it’s OK. But, if buffer is unsigned char *(exam unsigned char buffer[100]) then, sent data by recvfrom() function is incorrect. Why?
Can you help me please?
Thanks
Hung.