Exemplo n.º 1
0
 /// <summary>
 /// Sends the <paramref name="reliableUdpMessage"/> asynchronously to the specified endpoint.
 /// </summary>
 /// <param name="reliableUdpMessage"><see cref="ReliableUdpMessage"/> message to send.</param>
 /// <param name="remoteEndPoint">Ip endpoint of recipient of the message.</param>
 /// <param name="asyncCallback">The <see cref="AsyncCallback"/> delegate.</param>
 /// <param name="state">An object that contains state information for this request.</param>
 /// <returns>An IAsyncResult that references the asynchronous send.</returns>
 public IAsyncResult BeginSendMessage(ReliableUdpMessage reliableUdpMessage, IPEndPoint remoteEndPoint,
                                      AsyncCallback asyncCallback, Object state)
 {
     return(m_tcb.BeginSend(reliableUdpMessage, remoteEndPoint, asyncCallback, state));
 }