| 程序包 | 说明 |
|---|---|
| HslCommunication.Core.Net | |
| HslCommunication.Enthernet.ComplexNet | |
| HslCommunication.Enthernet.SimplifyNet | |
| HslCommunication.Enthernet.UdpNet |
| 限定符和类型 | 方法和说明 |
|---|---|
static OperateResultExTwo<NetHandle,byte[]> |
HslProtocol.ExtractHslData(byte[] content)
从接收的数据内容提取出用户的暗号和数据内容
|
| 限定符和类型 | 字段和说明 |
|---|---|
ActionOperateExThree<NetComplexClient,NetHandle,byte[]> |
NetComplexClient.AcceptByte
当接收到字节数据的时候,触发此事件
|
ActionOperateExThree<NetComplexClient,NetHandle,String> |
NetComplexClient.AcceptString
当接收到文本数据的时候,触发此事件
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
NetComplexClient.Send(NetHandle customer,
byte[] bytes)
服务器端用于发送字节的方法
|
void |
NetComplexClient.Send(NetHandle customer,
String str)
服务器端用于数据发送文本的方法
|
| 限定符和类型 | 方法和说明 |
|---|---|
OperateResultExTwo<NetHandle,byte[]> |
NetSimplifyClient.ReadCustomerFromServer(NetHandle customer,
byte[] send)
客户端向服务器进行请求,请求字符串数据,并返回状态信息
|
OperateResultExTwo<NetHandle,String> |
NetSimplifyClient.ReadCustomerFromServer(NetHandle customer,
String send)
客户端向服务器进行请求,请求字符串数据,并返回状态信息
|
OperateResultExTwo<NetHandle,String[]> |
NetSimplifyClient.ReadCustomerFromServer(NetHandle customer,
String[] send)
客户端向服务器进行请求,请求字符串数据,并返回状态信息
|
| 限定符和类型 | 方法和说明 |
|---|---|
OperateResultExTwo<NetHandle,byte[]> |
NetSimplifyClient.ReadCustomerFromServer(NetHandle customer,
byte[] send)
客户端向服务器进行请求,请求字符串数据,并返回状态信息
|
OperateResultExTwo<NetHandle,String> |
NetSimplifyClient.ReadCustomerFromServer(NetHandle customer,
String send)
客户端向服务器进行请求,请求字符串数据,并返回状态信息
|
OperateResultExTwo<NetHandle,String[]> |
NetSimplifyClient.ReadCustomerFromServer(NetHandle customer,
String[] send)
客户端向服务器进行请求,请求字符串数据,并返回状态信息
|
OperateResultExOne<byte[]> |
NetSimplifyClient.ReadFromServer(NetHandle customer,
byte[] send)
客户端向服务器进行请求,请求字节数据
|
OperateResultExOne<String> |
NetSimplifyClient.ReadFromServer(NetHandle customer,
String send)
客户端向服务器进行请求,请求字符串数据,忽略了自定义消息反馈
|
OperateResultExOne<String[]> |
NetSimplifyClient.ReadFromServer(NetHandle customer,
String[] send)
客户端向服务器进行请求,请求字符串数组,忽略了自定义消息反馈
|
| 限定符和类型 | 方法和说明 |
|---|---|
OperateResultExTwo<NetHandle,byte[]> |
NetUdpClient.ReadCustomerFromServer(NetHandle customer,
byte[] send)
客户端向服务器进行请求,请求字节数据,并返回状态信息
The client makes a request to the server, requests byte data, and returns status information |
OperateResultExTwo<NetHandle,String> |
NetUdpClient.ReadCustomerFromServer(NetHandle customer,
String send)
客户端向服务器进行请求,请求字符串数据,并返回状态信息
The client makes a request to the server, requests string data, and returns status information |
| 限定符和类型 | 方法和说明 |
|---|---|
OperateResultExTwo<NetHandle,byte[]> |
NetUdpClient.ReadCustomerFromServer(NetHandle customer,
byte[] send)
客户端向服务器进行请求,请求字节数据,并返回状态信息
The client makes a request to the server, requests byte data, and returns status information |
OperateResultExTwo<NetHandle,String> |
NetUdpClient.ReadCustomerFromServer(NetHandle customer,
String send)
客户端向服务器进行请求,请求字符串数据,并返回状态信息
The client makes a request to the server, requests string data, and returns status information |
OperateResultExOne<byte[]> |
NetUdpClient.ReadFromServer(NetHandle customer,
byte[] send)
客户端向服务器进行请求,请求字节数据
The client makes a request to the server, requesting byte data |
OperateResultExOne<String> |
NetUdpClient.ReadFromServer(NetHandle customer,
String send)
客户端向服务器进行请求,请求字符串数据,忽略了自定义消息反馈
The client makes a request to the server, requesting string data, and ignoring custom message feedback |
Copyright © 2022. All rights reserved.