Hi,

i'm getting a little frustrated trying to put the content of a packet
into a string.
What i simply want to do is something like:

std::string my_string (packet->data, packet->dataLength);

This doesn't compile however. I kind of get the idea why not, fiddled
around a little,
but could'nt get it working.

I guess someone did this before, any ideas?

Thanks,
ingmar
_______________________________________________
ENet-discuss mailing list
[email protected]
http://lists.cubik.org/mailman/listinfo/enet-discuss

Reply via email to