SendComplete socket event

From Xojo Documentation

Event


<see below>.SendComplete(UserAborted as Boolean)

Supported for all project types and targets.

Occurs when a send has completed.

Notes

Use this to determine when all your data has been sent. UserAborted will be True if the user aborted the send by returning True from the SendProgress event. You can use this information to update different status variables or to inform user about the success or failure of the transfer. If the send was completed, this value is False. UserAborted will always be False for UDP sockets.

Classes implementing the SendComplete event

SMTPSocket Changed in 5.0
SocketCore
TCPSocket Changed in 5.0