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
| Name | Type | Description |
|---|---|---|
| Target | Odin Socket | The Odin Socket to call this function on. |
| Room | Odin Room | The room to open the socket in. |
| Socket Kind | Odin Socket Kind | Reliable or unreliable delivery. |
| Target Peer Id | Integer64 | The receiving peer, or 0 for all peers in the room. |
| Label | Integer | An arbitrary number the receivers can read with Get Label, e.g. to tell several sockets apart. |
| Priority | Integer | Transport priority; 0 is the default, higher values are sent first. High values can impact voice quality. |
Outputs
| Name | Type | Description |
|---|---|---|
| Return Value | Odin Socket | The socket itself. Check Is Ready before sending. |