comp • • curl • status

Curl.Status (

Property Read Status As Integer

Returns the status of the client.

It can be one of the following values:


Net.Inactive The client is inactive.
Net.ReceivingData The client is receiving data from the network.
Net.Connecting The client is connecting to the server.

...or a negative value when an error occured.

The value of the status is actually -1000 minus the libcurl error code. Most of these error codes have a corresponding constant in the Net class.

To know what an error code means exactly, you have to look at the libcurl error code list.