
# CSharp
>git remote add origin http://gitea.vcarecity.com/kerryzhang/GWSocketClient.git
>git push -u origin master



## 下载地址

[GWSocketClient.rar](GWSocketClient.rar)

## 说明文档

[DTU说明文档.doc](DTU模拟器-说明.doc)

##  dotNet运行版本问题

### 1. 安装.Net4.0版本

[.Net版本4.0版本下载:https://download.microsoft.com/download/9/5/A/95A9616B-7A37-4AF6-BC36-D6EA96C8DAAE/dotNetFx40_Full_x86_x64.exe](https://download.microsoft.com/download/9/5/A/95A9616B-7A37-4AF6-BC36-D6EA96C8DAAE/dotNetFx40_Full_x86_x64.exe)

### 2.安装.Net4.52版本

[.Net版本4.52下载:http://download.microsoft.com/download/E/2/1/E21644B5-2DF2-47C2-91BD-63C560427900/NDP452-KB2901907-x86-x64-AllOS-ENU.exe?desc=dotnet452](http://download.microsoft.com/download/E/2/1/E21644B5-2DF2-47C2-91BD-63C560427900/NDP452-KB2901907-x86-x64-AllOS-ENU.exe?desc=dotnet452)

### 3.安装Access新版相关库

[Access:http://download.microsoft.com/download/7/0/3/703ffbcb-dc0c-4e19-b0da-1463960fdcdb/AccessDatabaseEngine.exe](http://download.microsoft.com/download/7/0/3/703ffbcb-dc0c-4e19-b0da-1463960fdcdb/AccessDatabaseEngine.exe)



### 下载页面

> 上面地十不存在时,可以到下载页面去下载.

[.Net4.0版本下载页面:https://www.microsoft.com/zh-cn/download/details.aspx?id=30653](https://www.microsoft.com/zh-cn/download/details.aspx?id=30653)

[.Net4.52等下载页面:https://www.microsoft.com/net/framework/versions/net462?source=getdotnet&utm_source=getdotnet&utm_medium=referral](https://www.microsoft.com/net/framework/versions/net462?source=getdotnet&utm_source=getdotnet&utm_medium=referral)





## 使用DotNetty代替Socket

`基于Visual Studio 2017`开发,没有`Nuget`程序,请下载安装.`VS2017自带`

`工具->Nuget包管理器->程序包管理器控制台`输入以下指令

```
Install-Package DotNetty.Common -Version 0.4.6
Install-Package DotNetty.Transport -Version 0.4.6
Install-Package DotNetty.Codecs -Version 0.4.6
Install-Package DotNetty.Handlers -Version 0.4.6
```







