解释下面每一行语句作用IPEndPoint ip = new IPEndPoint(IPAddress.Parse("127.0.0.1"), 9999);Socket server = new Socket(AddressFamily.InterNetwork,SocketType.Stream, ProtocolType.Tcp); NetworkStream ns = new NetworkStream(server);StreamReader
来源:学生作业帮助网 编辑:作业帮 时间:2024/11/16 00:38:21
解释下面每一行语句作用IPEndPoint ip = new IPEndPoint(IPAddress.Parse("127.0.0.1"), 9999);Socket server = new Socket(AddressFamily.InterNetwork,SocketType.Stream, ProtocolType.Tcp); NetworkStream ns = new NetworkStream(server);StreamReader
解释下面每一行语句作用
IPEndPoint ip = new IPEndPoint(IPAddress.Parse("127.0.0.1"), 9999);
Socket server = new Socket(AddressFamily.InterNetwork,SocketType.Stream, ProtocolType.Tcp);
NetworkStream ns = new NetworkStream(server);
StreamReader sr = new StreamReader(ns);
StreamWriter sw = new StreamWriter(ns);
解释下面每一行语句作用IPEndPoint ip = new IPEndPoint(IPAddress.Parse("127.0.0.1"), 9999);Socket server = new Socket(AddressFamily.InterNetwork,SocketType.Stream, ProtocolType.Tcp); NetworkStream ns = new NetworkStream(server);StreamReader
TCP协议.大学时学计算机网络时,我做过类似的实验以前用VB写的.类似于QQ的通讯软件基于TCP协议的.
本代码:指定本机为SERVER,创建读写流.