Lingo Dictionary > L-N > netAbort

 

netAbort

Syntax

netAbort(URL)
netAbort(netID)

Description

Command; cancels a network operation without waiting for a result.

Using a network ID is the most efficient way to stop a network operation. The ID is returned when you use a network function such as getNetText() or postNetText().

In some cases, when a network ID is not available, you can use a URL to stop the transmission of data for that URL. The URL must be identical to that used to begin the network operation. If the data transmission is complete, this command has no effect.

Example

This statement passes a network ID to netAbort to cancel a particular network operation:

on mouseUp
	netAbort(myNetID)
end

See also

getNetText(), postNetText