Difference between revisions of "SocketCore.SendComplete"

From Xojo Documentation

(SMBot: redirection)
 
(Removed redirect to SendComplete socket event)
(Tag: Removed redirect)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
#REDIRECT [[SendComplete socket event]]
+
{{EventBox
 +
| name=SendComplete
 +
| owner=SocketCore
 +
| ownertype=class
 +
| parameters=UserAborted as [[Boolean]]
 +
| platform=all
 +
}}
 +
{{Description
 +
|text = 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.

Latest revision as of 16:04, 17 February 2022

Event


SocketCore.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.