uint8_t *data = (uint8_t*)malloc(sizeof(uint8_t)*toWrite);
int amountSent = localSocket->Send (&data[0], toWrite, 0);
free (data);
uint8_t *data = (uint8_t*)malloc(sizeof(uint8_t)*toWrite);
int amountSent = localSocket->Send (&data[0], toWrite, 0);
free (data);