Net (gb.net.curl)

This class contains important constants for use with gb.net.curl objects, especially the error code constants.

Esta clase reimplementa Net en gb.net.

Esta clase es estática.

Constantes
AbortedByCallback   Aborted by callback. A callback returned "abort" to libcurl.
Asynchronous   A constant for the Async property.
AuthAny   This constant is used when any authentication method is possible.
AuthAnySafe   This constant represents any authentication method, except AuthBasic.
AuthBasic   This constant represents the Basic authentication method.
AuthDigest   This constant represents the Digest authentication method.
AuthDigestIE   This constant represents the Digest authentication method with an Internet Explorer flavor.
AuthGssNegotiate   This constant represents the Gss-Negotiate authentication method.
AuthNone   This constant is used when there is no authentication method.
AuthNtlm   This constant represents the NTLM authentication method.
AuthNtlmWb   This constant represents NTLM authentication delegated to winbind helper.
BadContentEncoding   Unrecognized transfer encoding.
BadDownloadResume   Attempting FTP resume beyond file size.
BadFunctionArgument   Internal error. A function was called with a bad parameter.
ChunkFailed   Chunk callback reported error.
ConvFailed   Character conversion failed.
ConvRequired   Caller must register conversion callbacks.
FTPBadFileList   Unable to parse FTP file list (during FTP wildcard downloading).
FTPPortFailed   The FTP PORT command returned error. This mostly happens when you haven't specified a good enough address for libcurl to use.
FTPPretFailed   The FTP server does not understand the PRET command at all or does not support the given argument.
FTPUnableToGetHost   An internal failure to lookup the host used for the new connection.
FTPUnableToRETRFile   This was either a weird reply to a 'RETR' command or a zero byte transfer complete.
FTPUnableToSetType   Received an error when trying to set the transfer mode to binary or ASCII.
FTPUnableToUseRest   The FTP REST command returned error. This should never happen if the server is sane.
FTPWeird227Format   FTP servers return a 227-line as a response to a PASV command. If libcurl fails to parse that line, this return code is passed back.
FTPWeirdPassReply   After having sent the FTP password to the server, libcurl expects a proper reply. This error code indicates that an unexpected code was returned.
FTPWeirdPasvReply   libcurl failed to get a sensible result back from the server as a response to either a PASV or a EPSV command. The server is flawed.
FTPWeirdServerReply   After connecting to a FTP server, libcurl expects to get a certain reply back. This error code implies that it got a strange or bad reply. The given remote server is probably not an OK FTP server.
FailedInit   Very early initialization code failed.
FileSizeExceeded   Maximum file size exceeded.
FunctionNotFound   Function not found. A required zlib function was not found.
GotNothing   Nothing was returned from the server, and under the circumstances, getting nothing is considered an error.
HTTPPostError   This is an odd error that mainly occurs due to internal confusion.
HttpReturnedError   This is returned if the HTTP server returns an error code that is >= 400.
InterfaceFailed   Interface error. A specified outgoing interface could not be used.
LoginDenied   The remote server denied curl to login.
OperationTimeout   Operation timeout. The specified time-out period was reached according to the conditions.
OutOfMemory   A memory allocation request failed. This is serious badness and things are severely screwed up if this ever occurs.
PartialFile   A file transfer was shorter or larger than expected. This happens when the server first reports an expected transfer size, and then delivers data that doesn't match the previously given size.
PeerFailedVerification   The remote server's SSL certificate or SSH md5 fingerprint was deemed not OK.
ProxyHTTP   This constant represents an HTTP proxy.
ProxySocks5   This constant represents a SOCKS5 proxy.
QuoteError   When sending custom "QUOTE" commands to the remote server, one of the commands returned an error code that was 400 or higher (for FTP) or otherwise indicated unsuccessful completion of the command.
RangeError   The server does not support or accept range requests.
ReadError   There was a problem reading a local file or an error returned by the read callback.
RecvError   Failure with receiving network data.
RemoteAccessDenied   We were denied access to the resource given in the URL.
RemoteDiskFull   Out of disk space on the server.
RemoteFileExists  
RemoteFileNotFound   The resource referenced in the URL does not exist.
SSLCacert   Peer certificate cannot be authenticated with known CA certificates.
SSLCacertBadFile   Problem with reading the SSL CA cert (path? access rights?).
SSLCertProblem   Problem with the local client certificate.
SSLCipher   Couldn't use specified cipher.
SSLConnectError   A problem occurred somewhere in the SSL/TLS handshake. You really want the error buffer and read the message there as it pinpoints the problem slightly more. Could be certificates (file formats, paths, permissions), passwords, and others.
SSLCrlBadfile   Failed to load CRL file.
SSLEngineInitFailed   Initiating the SSL Engine failed.
SSLEngineNotFound   The specified crypto engine wasn't found.
SSLEngineSetFailed   Failed setting the selected SSL crypto engine as default!
SSLIssuerError   Issuer check failed.
SSLShutdownFailed   Failed to shut down the SSL connection.
SendError   Failed sending network data.
SendFailRewind   When doing a send operation curl had to rewind the data to retransmit, but the rewinding operation failed.
Synchronous   A constant for the Async property.
TooManyRedirects   Too many redirects. When following redirects, libcurl hit the maximum amount. Set your limit with CURLOPT_MAXREDIRS.
URLMalformat   The URL was not properly formatted.
UnableToConnect   Failed to connect() to host or proxy.
UnableToResolveHost   Couldn't resolve host. The given remote host was not resolved.
UnableToResolveProxy   Couldn't resolve proxy. The given proxy host could not be resolved.
UnsupportedProtocol   The URL you passed to libcurl used a protocol that libcurl does not support. The support might be an unused compile-time option, it can be a misspelled protocol string or just a protocol libcurl has no code for.
UploadFailed   Failed starting the upload. For FTP, the server typically denied the STOR command. The error buffer usually contains the server's explanation for this.
WriteError   An error occurred when writing received data to a local file, or an error was returned to libcurl from a write callback.

Inherited constants
Accepting   This constant shows that a remote client is trying to connect with a server socket, and that the connection is being accepted.
Active   This constant shows that a network object is working at this moment.
CannotAuthenticate   Const CannotAuthenticate As Integer = -16
CannotBindInterface   This error constant means that binding a serversocket to a specific interface failed.
CannotBindSocket   This constant reflects that a network socket was unable to use (bind) to a port.
CannotCreateSocket   This constant reflects that a network object was unable to create a new socket, the system did not allow the operation to be performed.
CannotListen   This constant reflects that a server socket was unable to start listening on a TCP port or a local path.
CannotRead   This constant reflects that there was an error when trying to read data from a socket or a serial port.
CannotWrite   This constant shows that there was an error when trying to write data to a socket or a serial port.
Connected   This constant reflects that a socket, acting like a client, is currently connected to a remote server.
Connecting   This constant reflects that a socket, acting like a client, is trying to connect to a remote server.
ConnectionRefused   This constant reflects that a remote server refused a connection from a client socket.
ConnectionTimeout   This constant means that there was a connection timeout.
HostNotFound   This constant reflects that an object from one of the Net classes failed to translate a host name to an IP address.
IPv4   Constant used by Format for IPv4 addresses.
Inactive   This constant reflects that a network object is doing nothing, it is inactive.
Internet   Defines an Internet domain socket.
Local   Defines a local or an Unix domain socket.
Pending   This constant reflects that a remote client is trying to connect with a server socket, and that connection must be accepted or rejected.
ReceivingData   This constant means that some data is being downloaded from the network.
Searching   Reflects that an object from one of the Net classes is trying to translate a host name to an IP address.
Unix   Defines a local or Unix domain socket.

Inherited static methods
Format   Format a string that contains an IP address.