mergAccessoryWrite | |||||||||||||
Type | command | ||||||||||||
Dictionary | LCS | ||||||||||||
Library | LiveCode Script | ||||||||||||
Syntax |
| ||||||||||||
Associations | mergaccessory | ||||||||||||
Summary | This handler requests a write of 'data' on an active session | ||||||||||||
Edition | pro | ||||||||||||
Introduced | 8.0 | ||||||||||||
OS | ios | ||||||||||||
Platforms | mobile | ||||||||||||
Parameters |
| ||||||||||||
Example |
| ||||||||||||
Description | The 'pCallbackHandler' will be sent to the owner of the script which opened the session as soon as all data has been sent. Only one pending write request can be active at a time - if an attempt is made to write while one is pending a 'write in progress' error will be thrown. If an error occurs on the socket, or the remote host closes the socket before the read request is satisfied a 'mergAccessoryError' or 'mergAccessoryClosed' message will be sent instead of 'writeMessage' and the socket deleted. | ||||||||||||
Tags | externals |