With memcpy it works fine.
Thanks
Type: Posts; User: davide_82
With memcpy it works fine.
Thanks
Hi everybody! I need your help for a problem. I have to prepare a packet to send. The packet is a char* and it is divided into two parts:
- the first one is a struct made in this way
struct...
Hi everybody! I've got a question for you...
If I receive a (char)buffer of n bytes, how can I extract a single byte from it? :confused:
For example: I've got a 100 bytes buffer. I know that the...
Hi everybody!!!!! I need to pass an int array through send() function and I do it in this way:
server side:
int array[10];
char* buffer;
buffer = (char*)malloc(20);
buffer = (char*) array;...