Data Event, onerror
What are the errors in NetLinx that are returned on the Data
Event, ONERROR?
Here is a listing of some of the ONERROR values for
IP_CLIENT_CLOSE and IP_CLIENT OPEN:
Result (via ONERROR
event):
2: General Failure
4: Unknown host
6: Connection refused
7: Connection timed out
8: Unknown connection error
9: Already closed
10: Binding error
11: Listening error
14: Local port already used
15: UDP socket already listening
16: Too many open sockets
These are listed in the NetLinx Programming Language Manual
on pages 122 through 124. You can also find other error messages that relate to
specific functions listed in this section of the manual called "Keywords
and Run-Time Library Functions."