6.1-roDatagramEvent
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.
ifUserData
SetUserData(user_data As Object)
Sets the user data that will be returned when events are raised.
GetUserData() As Object
Returns the user data that has previously been set via SetUserData()
. It will return Invalid if no data has been set.
ifSourceIdentity
GetSourceIdentity() As Integer
ifString
GetString() As String