User Guide

419
This handler uses a specific network ID as an argument for netDone to check the status of a
specific network operation:
on exitFrame
-- stay on this frame until the net operation is
-- completed
global mynetID
if netDone(mynetID) = FALSE then
go to the frame
end if
end
See also
getNetText(), netTextResult(), gotoNetMovie, preloadNetThing()
netError()
Syntax
netError()
netError(netID)
Description
Function; determines whether an error has occurred in a network operation and, if so, returns an
error number corresponding to an error message. If the operation was successful, this function
returns a code indicating that everything is okay. If no background loading operation has started,
or if the operation is in progress, this function returns an empty string.
Use netError() to test the last network operation.
Use netError(netID) to test the network operation specified by netID.
Several possible error codes may be returned:
0 Everything is okay.
4 Bad MOA class. The required network or nonnetwork Xtra extensions are improperly installed or not
installed at all.
5 Bad MOA Interface. See 4.
6 Bad URL or Bad MOA class. The required network or nonnetwork Xtra extensions are improperly
installed or not installed at all.
20 Internal error. Returned by netError() in the Netscape browser if the browser detected a network
or internal error.
4146 Connection could not be established with the remote host.
4149 Data supplied by the server was in an unexpected format.
4150 Unexpected early closing of connection.
4154 Operation could not be completed due to timeout.
4155 Not enough memory available to complete the transaction.
4156 Protocol reply to request indicates an error in the reply.
4157 Transaction failed to be authenticated.
4159 Invalid URL.
4164 Could not create a socket.