Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Panel
borderColor#3D3D3D
bgColor#F4F4F4
titleColor#3D3D3D
borderWidth0
titleBGColor#3D3D3D
borderStylesolid

ON THIS PAGE

Table of Contents
indent20px

This event object is generated when datagram packets are received by the roDatagramReceiver or roDatagramSocket objects.

ifDatagramEvent

GetByteArray() as Object

Returns the contents of the packet as an roByteArray.

GetSourceHost() as String

Returns the source IP address of the packet in dotted form

...

GetSourcePort() as Integer

Returns the source port of the packet.

ifString

GetString() As String

ifUserData

SetUserData(user_data As Object)

Sets the user data.

GetUserData() As Object

Returns the user data that has previously been set via SetUserData() (either on the source or event object). It will return Invalid if no data has been set.

ifSourceIdentity

GetSourceIdentity() As Integer

...

titleNote

The ifSourceIdentity interface has been deprecated. We recommend using the ifUserData interface instead.

Panel
borderColor#3D3D3D
bgColor#F4F4F4
titleColor#3D3D3D
borderWidth0
titleBGColor#3D3D3D
borderStylesolid

ON THIS PAGE

Table of Contents
indent20px