change read method when receiving packet data
change InitReplyMessage.Result to int