/
xcon.SendHex

xcon.SendHex

Description

Sends binary data given as hex-bytes via an established connection.

Signature

bool xcon.SendHex(handle, data)

Parameters

Name

Type

Mandatory/Optional

Description

Name

Type

Mandatory/Optional

Description

handle

string

M

Handle that identifies the connection within the LUA script.

data

string

M

Data to be sent, has to be in the format "xx xx xx [...]" where x denotes any hex digit.

Return

Type

Description

Type

Description

bool

True when connection is valid, otherwise false.

 

Related content

xcon.SendText (plain string over socket connection)
xcon.SendText (plain string over socket connection)
More like this
xcon.SendText (HTTP POST with JSON string)
xcon.SendText (HTTP POST with JSON string)
More like this
LUA3: Read and Write from TCP XCON
LUA3: Read and Write from TCP XCON
More like this