public void SendTo ()
{
#if !MOONLIGHT
int total = 0;
try {
total = result.Sock.SendTo_nochecks (result.Buffer,
result.Offset,
result.Size,
result.SockFlags,
result.EndPoint);
UpdateSendValues (total);
if (result.Size > 0) {
Socket.socket_pool_queue (this.SendTo, result);
return; // Have to finish writing everything. See bug #74475.
}
result.Total = send_so_far;
} catch (Exception e) {
result.Complete (e);
return;
}
result.Complete ();
#endif
}