Configure terminate read mode when reading datagrams
DatagramTerminateMode defines how fread and fscanf read operations terminate. You can configure DatagramTerminateMode to be on or off.
If DatagramTerminateMode is on, the read operation terminates when a datagram is read. When DatagramTerminateMode is off, fread and fscanf read across datagram boundaries.
The read operation terminates when a datagram is read.
The read operation spans datagram boundaries.