roDatagramEvent
Â
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
The ifSourceIdentity interface has been deprecated. We recommend using the ifUserData interface instead.
Â