コード例 #1
0
 public void SendMessage(string msg)
 {
     if (!connected)
     {
         //throw new System.Exception("Invalid connection state");
         IidkWrapper.Connect(IpAdress, ConnectionPort, "", callback);
     }
     //  IidkWrapper.Connect("127.0.0.1", "1030", "1", callback);
     IidkWrapper.SendMsg(selfId, msg);
 }
コード例 #2
0
 //
 public void Connect(string address, string port, string id)
 {
     selfId = id;
     IidkWrapper.Connect(address, port, id, callback);
 }