2

可能是一个简单的问题,但无法在网上找到帮助。我用 c# 编写了一个检查程序应用程序,并尝试使用 xmlrpc.net 2.5 版建立连接,以便一个用户(客户端)可以输入另一台计算机(服务器)的 IP 地址并能够发送回消息并第四次更新董事会的变化。

这是我正在尝试做的一些伪代码,

public void startConnecting()
{
    //set up xml-rpc to connect to specified ip address


    //if successful start the game
    //start a receive message thread
    //sendMsg(name);

}
private void button1_Click(object sender, EventArgs e)
    //start the search for the ip address stored in textBox2
{
   name = textBox1.Text;
   startConnecting();
}
public void sendMsg(string s)
{
   while (true)
   //send msg
 }
4

0 回答 0