Go to the documentation of this file.
18 #ifndef __BIN_NETSEND_NETSEND_H
19 #define __BIN_NETSEND_NETSEND_H
NetworkClient * m_client
Network client.
static const Size MaxPackets
Maximum number of packets available.
NetSend(int argc, char **argv)
Class constructor.
POSIX-compatible application.
Defines a socket address and port pair.
Diagnostic program for sending network packets.
Result udpSendMultiple(const struct iovec *vec, const Size count, const struct sockaddr &addr) const
Send multiple UDP packets.
unsigned int Size
Any sane size indicator cannot go negative.
virtual Result initialize()
Initialize the application.
Networking Client implementation.
Input/Output vector for multi-packet operations.
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 Result exec()
Execute the application event loop.
virtual ~NetSend()
Class destructor.