摘要:
本文来源定义提供字节序列的一般视图。Provides a generic view of a sequence of bytes.流涉及三个基本操作Streams involve three fundamental operations:可以读取流(You can read from streams... 阅读全文
摘要:
发送http请求,可以用HttpWebRequest,比如:HttpWebRequest logonReq = (HttpWebRequest)WebRequest.Create("http://127.0.0.1:8097");也可以直接发送基础字节,但要着重注意:(1)发送和接收之间要有等待,否... 阅读全文
摘要:
我们都会用字符分割字符串:string[] recvArr = recv.Split(';');如果用字符串分割呢?下面:string[] sArray = Regex.Split(recv, "\r\n", RegexOptions.IgnoreCase); 阅读全文