core: added the send API
core: added the send API