NetComplexServerSendClientByAlias 方法 (String, NetHandle, Byte) |
根据客户端设置的别名进行发送消息
命名空间:
HslCommunication.Enthernet
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public void SendClientByAlias(
string Alias,
NetHandle customer,
byte[] data
)
Public Sub SendClientByAlias (
Alias As String,
customer As NetHandle,
data As Byte()
)
public:
void SendClientByAlias(
String^ Alias,
NetHandle customer,
array<unsigned char>^ data
)
member SendClientByAlias :
Alias : string *
customer : NetHandle *
data : byte[] -> unit
参数
- Alias
- 类型:SystemString
客户端上线的别名 - customer
- 类型:HslCommunicationNetHandle
用户自定义的命令头 - data
- 类型:SystemByte
需要传送的实际的数据
参见