On Socket Message Received
Raised when a message arrives on this socket.
- Node type: Event dispatcher. Bind a custom event to it with Bind Event to On Socket Message Received BP (or Assign On Socket Message Received BP) on the target.
- Target: Odin Socket
- Menu category: Odin › Socket › Events
- C++:
UOdinSocket::OnSocketMessageReceivedBP(FOdinSocketReceivedDelegate)
Inputs (Bind Event node)
| Name | Type | Description |
|---|---|---|
| Target | Odin Socket | The Odin Socket 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. |
| Room | Odin Room | The room the socket belongs to. |
| Socket | Odin Socket | The socket. |
| Data | Array of Byte | The received bytes. |