openSockets | |||||||
Type | function | ||||||
Dictionary | LCS | ||||||
Library | LiveCode Script | ||||||
Syntax |
| ||||||
Summary | |||||||
Introduced | 1.0 | ||||||
OS | mac, windows, linux, ios, android | ||||||
Platforms | desktop, server, mobile | ||||||
Example |
| ||||||
Values |
| ||||||
Related | Keyword: line Message: socketTimeout Command: accept Glossary: socket, host, append, return, port Control Structure: function | ||||||
Security | network | ||||||
Description | Use the openSockets function to find out which sockets need to be closed, or to check whether a socket is already open before reading from it or writing to it. Each line of the list returned by the openSockets function is a socket identifier. A socket identifier consists of the host and port number the socket is connected to, separated by a colon. If a connection name or number was assigned when the socket was opened, it is appended to the identifier, separated from the port number by a vertical bar (|).
| ||||||
Tags | networking |