Skip to main content
Version: 2.x

Create Socket

Opens the socket in a room.

  • Node type: Callable function. Has execution pins and runs when it is reached in the event graph.
  • Target: Odin Socket
  • Menu category: Odin
  • Search keywords: Start Connection, Start Socket, Socket, Room Socket
  • C++: UOdinSocket::Create

Inputs​

NameTypeDescription
TargetOdin SocketThe Odin Socket to call this function on.
RoomOdin RoomThe room to open the socket in.
Socket KindOdin Socket KindReliable or unreliable delivery.
Target Peer IdInteger64The receiving peer, or 0 for all peers in the room.
LabelIntegerAn arbitrary number the receivers can read with Get Label, e.g. to tell several sockets apart.
PriorityIntegerTransport priority; 0 is the default, higher values are sent first. High values can impact voice quality.

Outputs​

NameTypeDescription
Return ValueOdin SocketThe socket itself. Check Is Ready before sending.