NetHelperSendMsg Method (Socket, Byte) | Helper帮助文档 |
以同步方式向指定的Socket对象发送消息
Namespace: HD.Common
Assembly: HD.Common (in HD.Common.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public static void SendMsg( Socket socket, byte[] msg )
Public Shared Sub SendMsg ( socket As Socket, msg As Byte() )
public: static void SendMsg( Socket^ socket, array<unsigned char>^ msg )
static member SendMsg : socket : Socket * msg : byte[] -> unit
Parameters
- socket
- Type: System.Net.SocketsSocket
socket对象 - msg
- Type: SystemByte
发送的消息
See Also