- 博客(0)
- 资源 (2)
空空如也
C#客户端通信
C#客户端通信
public partial class Form1 : Form
{
TcpClient tclient = new TcpClient();
public Form1()
{
InitializeComponent();
Control.CheckForIllegalCrossThreadCalls = false;
}
private void btnconnect_Click(object sender, EventArgs e)//客户端请求连接
{
try
{
int portnumber = Convert.ToInt32(txtport.Text);//portnumber服务器端口号
2012-12-08
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人