Method lrs::socket::Socket::ipv4_is_header_included

Retrieves whether packets sent over this socket already have a header included.

Syntax

impl Socket {
    fn ipv4_is_header_included(&self) -> Result<bool, Errno>
}

Return value

Returns whether packets sent over this socket already have a header included.

Remarks

This option is only available for raw Ipv4 sockets.

See also