2011年2月11日

C# UDPCLIENT多线程实例

摘要: //创建一个Thread实例 private Thread thread1; //创建一个UdpClient实例 private UdpClient udpReceive; private UdpClient udpSend; private byte[] bytes; //private DialogResult result; public myUdpClient() { InitializeComponent(); } private void myUdpClient_Load(object sender, EventArgs e) { thread1 = new Thread(ne 阅读全文

posted @ 2011-02-11 14:26 和轩僮 阅读(4282) 评论(0) 推荐(0) 编辑

C# SOCKET 编程实例

摘要: using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Text;using System.Windows.Forms;using System.Net;using System.Net.Sockets;using System.Threading;namespace test4_2{ public partial class Form1 : Form { Socket connectSocket; 阅读全文

posted @ 2011-02-11 14:16 和轩僮 阅读(1075) 评论(2) 推荐(0) 编辑

导航