Typical usage is to start in a command window like this

ipsrc 80

That would direct IPsrc to use port 80 to send UDP frames.

The program discovers the box's local IP address and you
can use it or supply your own destination IP address.

Command line switch /TCP makes the frames TCP.