[ENet-discuss] ENetPacket to std::string

Slav slavmfm at gmail.com
Mon Mar 28 08:30:27 PDT 2011


Try
std::string my_string ((char*)packet->data, packet->dataLength);
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cubik.org/pipermail/enet-discuss/attachments/20110328/ac5d7c6b/attachment.html>


More information about the ENet-discuss mailing list