Player APIs (BrightScript & Ja...
...
Object Reference
Networking Objects
roTCPConnectEvent
1min
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