in msg_send_receive: return result from msg_send

currently we are just returning 1, but msg_send can fail, so we have to inform the caller