02 2013 档案

摘要:控制台界面,分服务器端与客户端,经测试,多个客户端能成功同时发送大文件给服务器端服务器端:class Program { const int BufferSize = 1024; static string path = @"E:\"; static void Main(string[] args) { IPEndPoint ip = new IPEndPoint(IPAddress.Parse("127.0.0.1"), 8080); Socket sock = new Socket(A... 阅读全文
posted @ 2013-02-13 14:48 小土也 阅读(347) 评论(0) 推荐(0)
摘要:此代码演示如何使用LINQ to XML的XDocument.Validate()方法根据指定的XSD验证XDocument内容的有效性。示例代码using System.Collections.Generic;using System.Linq;using System.Text;using System.Xml.Schema;using System.Xml.Linq;namespace Demo06Ex02{ class Program { static void Main(string[] args) { // ******... 阅读全文
posted @ 2013-02-10 18:45 小土也 阅读(167) 评论(0) 推荐(0)
摘要:今天在园子里面开辟了一小块儿天地, 想把这里作为一个收纳箱, 记录平时学习和工作中遇到的技术问题, 当然, 还有解决方案.我就是个Newbie, 新手, 小白, 希望不小心看到这个园子的大神不要喷的太用力...当然, 希望留下你宝贵的意见~说了是扯两句, 所以就到这里吧. 阅读全文
posted @ 2013-02-06 22:13 小土也 阅读(97) 评论(0) 推荐(0)