EVENT Error ( ) |
---|
This event raises when some failed (for instance socket binding failed). Status property will turn to a value lesser than zero, and socket will be automatically closed. Status property value reflects error:
Constant | Value | *Comment * |
---|---|---|
UdpSocket.CannotCreateSocket | -2 | System didn't allow to create socket |
UdpSocket.CannotWrite | -4 | Error trying to send data |
UdpSocket.CannotRead | -5 | Error tying to receive data |
UdpSocket.CannotBindSocket | -10 | Unable to use (bind) desired Port |