tcp同步 网络聊天程序

时间:2017-03-18 15:50:26
【文件属性】:

文件名称:tcp同步 网络聊天程序

文件大小:252KB

文件格式:RAR

更新时间:2017-03-18 15:50:26

同步 tcp 网络聊天

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; private set; } public BinaryWriter bw { get; private set; } public string userName { get; set; } public User(TcpClient client) { this.client = client; NetworkStream networkStream = client.GetStream(); br = new BinaryReader(networkStream); bw = new BinaryWriter(networkStream); } public void Close() {


【文件预览】:
kechengzuizhong
----课程设计报告.doc(237KB)
----kecheng4()
--------kehu()
--------服务端()

网友评论