Hello,
Anyone achieved receiving OSC messages on c++? (I know it can be done on BP)
Atm I’m doing this with no luck:
(on BeginPlay)
OSCServer = OSCManager->CreateOSCServer("127.0.0.1", 7000, false, true, "TestServer");
FScriptDelegate Delegate;
Delegate.BindUFunction(this, "onReceive");
OSCServer->OnOscMessageReceived.AddUnique(Delegate);
void AOSC_Handler::OnReceive(const FString& InIPAddress, uint16 InPort, const FOSCMessage& InMessage)
{
UE_LOG(LogTemp, Warning, TEXT("Message received!"));
}