TcpIp_WriteText


Outputs a string through a connected TCP socket.

Syntax

C++
Python
 
def TcpIp_WriteText(
	inSocket: int,
	inText: str,
	/,
	*,
	inSuffix: str = "\"\\\\r\\\\n\""
)
-> None

Parameters

Name Type Default Description
Input value inSocket int Connected socket ID.
Input value inText str Text to send through socket.
Input value inSuffix str "\"\\\\r\\\\n\"" Additional data to send, like a newline, escaped.