点击或拖拽改变大小

NetPlainSocketSendString 方法

发送字符串到服务器上去,编码使用的是属性 Encoding 来指定
Send the string to the server, and the Encoding is specified using the attribute Encoding

命名空间:  HslCommunication.Enthernet
程序集:  HslCommunication (在 HslCommunication.dll 中) 版本:12.5.1.0 (12.5.1.0)
语法
public OperateResult SendString(
	string text
)

参数

text
类型:SystemString
文本信息

返回值

类型:OperateResult
发送是否成功
参见