Player APIs (BrightScript & Ja...
...
Object Reference
Networking Objects

roStreamConnectResultEvent

1min
this event is sent to a message port associated with an rotcpstream object when an asyncconnectto() request has been completed or has failed ifint getint() as integer returns the result code of the event if the connection was successfully established, then this method will return 0 if connection failed for any reason, this method will return a non zero integer setint(value as integer) as void sets the value of the event ifuserdata setuserdata(user data as object) as void sets the user data getuserdata() as object returns the user data that has previously been set via setuserdata() (on either the event or source object) it will return invalid if no data has been set