I think you wanted to get the size of message.
msg_ is pointer so sizeof( msg_ ) will get you the size of pointer not message.