Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

ON THIS PAGE

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

Note

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

  • No labels