The only way to send UDP packets in C is to use send/sendo/write/... calls.
The problem with those is, that for each packet I need to perform a new call from user-space.
Does anyone know whether there is a function which allows for something like
send_packets( int socket, const char* buffer, int packetSize )
Which does automatically split the data in the buffer into packets of size packetSize (e.g. 1472) and then send them as UDP packets?
Thanks