WriteToSocket - method of object PmData
Writing data from the server group via Ethernet (TCP/IP) using the sockets.
WriteToSocket As Boolean
- The method successfully queued
the request for sending data to the server. After data transfer the onEndOfTransfer
event will be fired.
- The method hasn't queued
the request for sending data. Probably the previous message about sending/receiving by sockets of this object hasn't been finished yet. The onEndOfTransfer
event is not fired.
This method is not functional for PmFree.
The method only activates the data transfer but there is no assurance that data are already transferred after ending this method. The data transfer termination is announced by the event onEndOfTransfer
Calling this method is meaningful only if the Sockets page is configured as the Socket client.
Variables on the Data page of this object are sent to the server.