1#ifndef NET_CANRawSocket_h__
2#define NET_CANRawSocket_h__
19 void send( const ::can_frame& frame);
22 int receive( ::can_frame& frame);
41 void sendTo( const ::can_frame& frame, std::string_view interface);
54 int receiveFrom( ::can_frame& frame, std::string& interface);
70 int timedReceiveFrom( ::can_frame& frame, std::string& interface,
int timeout);
void sendTo(const ::can_frame &frame, std::string_view interface)
int receiveFrom(::can_frame &frame, std::string &interface)
void setReceiveFilter(const ::can_filter *filters, size_t len)
void setLocalLoopback(bool enable)
int receive(::can_frame &frame)
(overload) receive can frame from a bound socket
int timedReceiveFrom(::can_frame &frame, std::string &interface, int timeout)
void send(const ::can_frame &frame)
(overload) send can_frame through a connected socket
int timedReceive(::can_frame &frame, int timeout)
(overload) receive can frame from a bound socket with timeout
void setErrorFilter(::can_err_mask_t filter)
void setReceiveOwnMessages(bool enable)
CANSocket(int type, int protocol)
allows a subclass to create new socket