On Socket
Raised when a message arrives on any socket of this room. The socket's own On Socket Message Received event is raised as well.
- Node type: Event dispatcher. Bind a custom event to it with Bind Event to On Socket BP (or Assign On Socket BP) on the target.
- Target: Odin Room
- Menu category: Odin › Room › Events
- C++:
UOdinRoom::OnSocketBP(FOdinSocketDelegate)
Inputs (Bind Event node)
| Name | Type | Description |
|---|---|---|
| Target | Odin Room | The Odin Room that raises the event. |
| Event | Event | The custom event (or function) to call when the event is raised. Its signature must match the outputs below. |
Outputs (event parameters)
| Name | Type | Description |
|---|---|---|
| Exec | Exec | Fires when the event is raised. |
| Socket | Odin Socket | The socket the message arrived on. |
| Message | Array of Byte | The received bytes. |