Skip to main content
Version: 2.x

Odin SocketCreate

Asynchronously calls the native ODIN Core SDK function odin_socket_create. On Success is called with the result and On Error with the error code; On Response fires in both cases.

  • Node type: Async action. Starts a native call and fires its output execution pin once the call has completed.
  • Menu category: Odin › Native
  • C++: UOdinNativeSocketCreate::SocketCreate, a UBlueprintAsyncActionBase that is not part of the C++ reference. In C++, call the native function directly.

Inputs​

NameTypeDescription
RoomOdin RoomPassed by reference.
Socket KindOdin Socket Kind
Remote Peer IdInteger
LabelInteger
PriorityInteger
On ErrorDelegateCallback with (Error Code: Odin Error). Optional.
On SuccessDelegateCallback with (Socket: Odin Socket). Optional.

Outputs​

NameTypeDescription
On ResponseExecFires when the native call has completed.
SuccessBooleanTrue if the native call returned ODIN_ERROR_SUCCESS.