예제 #1
0
  /// <summary>
  /// 向服务器发送'2',以供udp打洞使用
  /// </summary>
 private void InitReceive()
 {
      tau = new ToAudioUtil(am.ServerEndPoint,this);
     tau.InitWithServerHelp();
 }
예제 #2
0
  /// <summary>
  /// 向服务器发送'1',以便udp打洞
  /// </summary>
  /// <param name="myEndPoint"></param>
 internal void InitSend(MyEndPoint myEndPoint)
 {
      fau = new FromAudioUtil(myEndPoint,this);
     fau.InitWithServerHelp();
 }