为什么会错误啊
usingSystem;usingSystem.Drawing;usingSystem.Collections;usingSystem.ComponentModel;us...
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
using System.Data;
using System.Net;
using System.Net.Sockets;
using System.Threading; //程序中使用到线程using System.Text ; //程序中使用到编码
namespace WindowsApplication1
{
public partial class Form1 : Form
{
private UdpClient server;
private IPEndPoint receivePoint;
private int port = 8080; //定义端口号
private int ip = 127.0.0.1; //设定本地IP地址
private Thread startServer ;
public Form1()
{
InitializeComponent();
}
private void Form1_Load(object sender, EventArgs e)
{
}
}
}
为什么127.0.0.1会错啊 展开
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
using System.Data;
using System.Net;
using System.Net.Sockets;
using System.Threading; //程序中使用到线程using System.Text ; //程序中使用到编码
namespace WindowsApplication1
{
public partial class Form1 : Form
{
private UdpClient server;
private IPEndPoint receivePoint;
private int port = 8080; //定义端口号
private int ip = 127.0.0.1; //设定本地IP地址
private Thread startServer ;
public Form1()
{
InitializeComponent();
}
private void Form1_Load(object sender, EventArgs e)
{
}
}
}
为什么127.0.0.1会错啊 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询