public override void Send(IPEndPoint destinationEndPoint, byte[] buffer)
{
try
{
if (destinationEndPoint == null)
{
throw new ApplicationException("An empty destination was specified to Send in SIPUDPChannel.");
}
else
{
m_sipConn.Send(buffer, buffer.Length, destinationEndPoint);
}
}
catch (Exception excp)
{
logger.Error("Exception (" + excp.GetType().ToString() + ") SIPUDPChannel Send (sendto=>" + IPSocket.GetSocketString(destinationEndPoint) + "). " + excp.Message);
throw excp;
}
}