6.1-roTCPConnectEvent
ON THIS PAGE
The event is posted when a new connection is made to an roTCPServer port. The normal response to receiving such an event is to create a new roTCPStream object and pass the event to its AcceptFrom call.
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.
ifSocketInfo
GetSourceAddress() As String
Returns the IP address of the remote end of the TCP connection.