Packetizing data to send