Sent when an open socket, read from socket or write to socket command halts for the time specified by the socketTimeoutInterval property.
# Metadata
Platforms: desktop, server, mobile OS: mac, windows, linux, ios, android Introduced: 1.0 Security:
# Syntax
socketTimeout pSocketID
# Params
- pSocketID : The identifier (set when you opened the socket) of the socket which had an error. : The identifier (set when you opened the socket) of the socket which had an error.
# Examples
on socketTimeout theID answer error "The connnection is not responding." \ with "Keep Trying" or "Cancel" if it is "Cancel" then close socket theID end socketTimeout
# Description
Handle the socketTimeout message to take action when a socket communication has not completed within the time set by the socketTimeoutInterval.
The socketTimeout message is sent to the object whose script created the socket.
# Tags
# See
- **property:** socketTimeoutInterval - **message:** socketClosed, socketError - **command:** read from socket, write to socket, close socket, open socket - **function:** openSockets - **glossary:** property, socket, message, command