IOSCPacket

Choose your operating system:

Windows

macOS

Linux

References

Module

OSC

Header

/Engine/Plugins/Runtime/OSC/Source/OSC/Public/OSCPacket.h

Include

#include "OSCPacket.h"

Syntax

class IOSCPacket

Variables

Name Description

Protected variable

FString

 

IPAddress

Protected variable

uint16

 

Port

Constructors

Name Description

Public function

IOSCPacket()

Destructors

Name Description

Public function Virtual

~IOSCPacket()

Functions

Name Description

Public function Static

TSharedPtr< ...

 

CreatePacket

(
    const uint8* InPacketType,
    const FString& InAddress,
    uint16 InPort
)

Create an OSC packet according to the input data.

Public function Virtual Const

const FStrin...

 

GetIPAddress()

Get endpoint IP address responsible for creation/forwarding of packet

Public function Virtual Const

uint16

 

GetPort()

Get endpoint address responsible for creation/forwarding of packet

Public function

bool

 

IsBundle()

Returns true if packet is bundle

Public function

bool

 

IsMessage()

Returns true if packet is message

Public function

void

 

ReadData

(
    FOSCStream& OutStream
)

Read packet data from stream

Public function

void

 

WriteData

(
    FOSCStream& OutStream
)

Write packet data into stream