2013年8月5日
摘要: Server.cs 服务端程序using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Text;using System.Windows.Forms;using System.Threading;using System.Net;using System.Net.Sockets;namespace SocketTest{ public partial class Server : Form ... 阅读全文
posted @ 2013-08-05 11:29 larryle 阅读(336) 评论(0) 推荐(0) 编辑
摘要: 方法一:Control.CheckForIllegalCrossThreadCalls=false;方法二:(推荐)this.Invoke(new MethodInvoker(() => { lstServer.Items.Add("Client:" + clientep.Address + "(" + clientep.Port + ")"); })); 阅读全文
posted @ 2013-08-05 10:49 larryle 阅读(155) 评论(0) 推荐(0) 编辑
摘要: Socket网络编程学习笔记(6):使用线程池提高性能Socket网络编程学习笔记(5):发送和接收实体类数据Socket网络编程学习笔记(4):TCP消息边界处理Socket网络编程学习笔记(3):利用套接字助手类Socket网络编程学习笔记(2):面向连接的SocketSocket网络编程学习笔记(1):常用方法介绍 阅读全文
posted @ 2013-08-05 10:16 larryle 阅读(171) 评论(0) 推荐(0) 编辑