One piece,是真正存在的。

此博客停更,新地址传送门:Yuanjie

2012年10月15日 #

C#:Socket通信

摘要: 之前一直想自己搞把C#的Socket代码,一直没有下手,今晚终于实践了一把。现把流程编写出来,以备后用。很简单的源码。工具:Vs2010建立项目:C# 控制台应用程序Server代码using System;using System.Collections.Generic;using System.Linq;using System.Text;//添加Socket类using System.Net;using System.Net.Sockets;namespace SockeConsoleServer{ class Program { static void Mai... 阅读全文

posted @ 2012-10-15 23:53 One|Piece 阅读(56401) 评论(14) 推荐(7) 编辑

C#:小技巧

摘要: 1、不让控制台显示窗口自动关闭解决方法:在控制台代码处添加Console.ReadLine(); 阅读全文

posted @ 2012-10-15 23:41 One|Piece 阅读(300) 评论(0) 推荐(0) 编辑

导航