Function libzt::zts_bsd_sendto[][src]

pub unsafe extern "C" fn zts_bsd_sendto(
    fd: c_int,
    buf: *const c_void,
    len: size_t,
    flags: c_int,
    addr: *const zts_sockaddr,
    addrlen: zts_socklen_t
) -> ssize_t
Expand description

@brief Send data to remote host

@param fd Socket file descriptor @param buf Pointer to data buffer @param len Length of data to write @param flags Specifies type of message transmission @param addr Destination address @param addrlen Length of destination address @return Number of bytes sent if successful, ZTS_ERR_SERVICE if the node experiences a problem, ZTS_ERR_ARG if invalid argument. Sets zts_errno