NetComplexServerSend 方法 (AppSession, NetHandle, Byte) |
服务器端用于发送字节的方法
命名空间:
HslCommunication.Enthernet
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public void Send(
AppSession session,
NetHandle customer,
byte[] bytes
)
Public Sub Send (
session As AppSession,
customer As NetHandle,
bytes As Byte()
)
public:
void Send(
AppSession^ session,
NetHandle customer,
array<unsigned char>^ bytes
)
member Send :
session : AppSession *
customer : NetHandle *
bytes : byte[] -> unit
参数
- session
- 类型:HslCommunication.Core.NetAppSession
数据发送对象 - customer
- 类型:HslCommunicationNetHandle
用户自定义的数据对象,如不需要,赋值为0 - bytes
- 类型:SystemByte
实际发送的数据
参见