readPacket is done. sendText shows an example of how a call to writePacket would work