[ENet-discuss] sending struct data

Andrew Fenn andrewfenn at gmail.com
Mon Jan 26 08:07:46 PST 2009


On Mon, Jan 26, 2009 at 3:08 PM, Mark Palkow <palkow at daviko.com> wrote:
> Is "strcat" the right thing?
> I would try "strcpy" instead.

Hurray, it works. One more question if you don't mind.

I was reading in the mailing list that one should use the POSH library
to convert all data to big endian before transmitting. This is done so
that if one transmits from Mac -> Windows -> Linux the data doesn't
end up as garbage. Is this correct? What data needs converting, just
int and float not char?

Sorry for all the silly questions.

Thanks,
Andrew


More information about the ENet-discuss mailing list