Hi,
How do I empty a socket buffer?

I am using sendto() function.

Many Thanks,
John