18#ifndef __BIN_NETSEND_NETSEND_H
19#define __BIN_NETSEND_NETSEND_H
Diagnostic program for sending network packets.
virtual Result exec()
Execute the application event loop.
virtual Result initialize()
Initialize the application.
Result udpSendMultiple(const struct iovec *vec, const Size count, const struct sockaddr &addr) const
Send multiple UDP packets.
static const Size PacketSize
Size of each packet to send in bytes.
static const Size QueueSize
Number of packets to submit for transmission each iteration.
virtual ~NetSend()
Class destructor.
NetworkClient * m_client
Network client.
Networking Client implementation.
static const Size MaxPackets
Maximum number of packets available.
POSIX-compatible application.
unsigned int Size
Any sane size indicator cannot go negative.
Input/Output vector for multi-packet operations.
Defines a socket address and port pair.