Clear ARP table

My software has four Udp sockets, and when a connection is fallen down, I have a problem to start it up. I think the ARP table will be probably full. How could I clear this table?

Samples\TCPIP\dhcp.c , this allows you to flush an ARP table entry