NetUdpServerSendMessage 方法 (AppSession, Int32, Byte) |
向指定的通信对象发送字节数据
命名空间:
HslCommunication.Enthernet
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public void SendMessage(
AppSession session,
int customer,
byte[] bytes
)
Public Sub SendMessage (
session As AppSession,
customer As Integer,
bytes As Byte()
)
public:
void SendMessage(
AppSession^ session,
int customer,
array<unsigned char>^ bytes
)
member SendMessage :
session : AppSession *
customer : int *
bytes : byte[] -> unit
参数
- session
- 类型:HslCommunication.Core.NetAppSession
连接对象 - customer
- 类型:SystemInt32
用户的指令头 - bytes
- 类型:SystemByte
实际的数据
参见