Hello, I am currently charged with making an update to an existing server program, and I wanted to use sf::Packets to handle some of the data. Currently the application receives data in a char array, all I wanted to know was how to change a char array so that it fits with a sf::Packet so that I can use rPacket >> data >> data2 etc.
I was able to already modify the server to send the packets with packet.getdata() / packet.getdatasize(), it is just casting the existing received packet into a sf::packet.
Thanks.