摘要: 使用socket可以连接到服务器,收发数据。首先要建立服务器端,在服务器端建立用户类using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Net.Sockets;using System.IO;namespace SyncChatServer{ class User { public TcpClient client {get;private set; } public BinaryReader br { get; pr... 阅读全文
posted @ 2013-04-22 17:51 finly 阅读(229) 评论(0) 推荐(0) 编辑