NetHelper.ReceiveMsg Method (Socket)

HD.Common

NetHelperReceiveMsg Method (Socket) Helper帮助文档
以同步方式接收消息,并转换为UTF8编码格式的字符串,使用5000字节的默认缓冲区接收。

Namespace: HD.Common
Assembly: HD.Common (in HD.Common.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax

public static string ReceiveMsg(
	Socket socket
)
Public Shared Function ReceiveMsg ( 
	socket As Socket
) As String
public:
static String^ ReceiveMsg(
	Socket^ socket
)
static member ReceiveMsg : 
        socket : Socket -> string 

Parameters

socket
Type: System.Net.SocketsSocket
socket对象

Return Value

Type: String

[Missing <returns> documentation for "M:HD.Common.NetHelper.ReceiveMsg(System.Net.Sockets.Socket)"]

See Also

Reference