E_SocketConnectionlessState

Status information of a connection-less UDP socket (eSOCKET_TRANSIENT == the status changes from eSOCKET_CREATED=>eSOCKET_CLOSED, for example).

Syntax

TYPE E_SocketConnectionlessState:
(
    eSOCKET_CLOSED,
    eSOCKET_CREATED,
    eSOCKET_TRANSIENT
);
END_TYPE

Values

Name

Description

eSOCKET_CLOSED

The UDP socket is closed.

eSOCKET_CREATED

The UDP socket is created.

eSOCKET_TRANSIENT

The UDP socket changes from closed to open or from open to closed.

Requirements

Development environment

Target system type

PLC libraries to include (category group)

TwinCAT v3.1.0

PC, or CX (x86, X64, ARM)

Tc2_TcpIp (communication)