Skip to main content
Version: 2.x

On Socket Message Received

Raised when a message arrives on this socket.

Inputs (Bind Event node)​

NameTypeDescription
TargetOdin SocketThe Odin Socket that raises the event.
EventEventThe custom event (or function) to call when the event is raised. Its signature must match the outputs below.

Outputs (event parameters)​

NameTypeDescription
ExecExecFires when the event is raised.
RoomOdin RoomThe room the socket belongs to.
SocketOdin SocketThe socket.
DataArray of ByteThe received bytes.