43 u8* txbuff,
unsigned txbytes,
unsigned txpkt,
44 u8* rxbuff,
unsigned rxbytes,
unsigned rxpkt);
Extensible transmit and receive buffer.
Limited read of next N bytes.
Abstract API for reading byte-streams and packets.
Defines a generic API for sending data to a specific destination, such as a MAC address,...
A net::Protocol is the counterpart to net::Dispatch that handles a particular data stream,...
Buffered I/O for sending and receiving messages over a network.
bool ready_tx() const
Ready to transmit data?
SocketCore(satcat5::net::Address *addr, u8 *txbuff, unsigned txbytes, unsigned txpkt, u8 *rxbuff, unsigned rxbytes, unsigned rxpkt)
Constructs a SocketCore from a saved net::Address and buffer(s).
satcat5::net::Address *const m_addr_ptr
Generic handler for a specific protocol and address.
~SocketCore() SATCAT5_OPTIONAL_DTOR
Constructor and destructor are only accessible to child class.
void frame_rcvd(satcat5::io::LimitedRead &src) override
Required event handlers.
bool ready_rx() const
Ready to receive data?
void close()
Close any open connections.
void data_rcvd(satcat5::io::Readable *src) override
Required event handlers.
Buffered I/O wrappers for PacketBuffer.
Generic network Dispatch API.