How can I Detect a Connection Event with TTWeb?
CommConnectEvent event returns
connectInt, an integer value which indicates the new TTWeb state.
0 = TTWeb has closed a connection
1 = TTWeb has opened connection
2 = TTWeb is attempting to connect
Ensure that the
for value matches the
name parameter specified when you instantiate TTWeb (in
the samples included with TTWeb this is '
sampleTTWeb', as above.)