I have a small c++ .net program that is intended to be a simple UDP server; however, I just want to start blasting out packets when a connection is made.

After setup,

Socket^ socket = gcnew Socket(AddressF amily::InterNet work, SocketType::Dgr am, ProtocolType::U dp);
IPEndPoint^ ipep = gcnew IPEndPoint(IPAd dress::Any, 54321);

socket->Bind(ipep);

while(true)
{...