NetHelperSendMsg Method (Socket, String) | Helper帮助文档 |
使用UTF8编码格式以同步方式向指定的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, string msg )
Public Shared Sub SendMsg ( socket As Socket, msg As String )
public: static void SendMsg( Socket^ socket, String^ msg )
static member SendMsg : socket : Socket * msg : string -> unit
Parameters
- socket
- Type: System.Net.SocketsSocket
socket对象 - msg
- Type: SystemString
发送的消息
See Also