Callback will be called when the socket read some data from peer.
Callback will be called when a HTTP response response is received from the HTTP socket.
"Drain" is emitted when the write buffer becomes empty. Can be used to throttle uploads.
Callback is called when an error happens on the socket.
Callback is called when a read timeout is raised.
Callback is called when a write timeout is raised.
Set DNS resolution callback. Callback is called when DNS resolved successfully.
Callback is called when the socket is connected. Note that "Connected" and "Ready" are different. When a TLS socket is "Connected" it may not be "Ready".
The socket is ready to be written. Note that "Connected" and "Ready" are different. When a TLS socket is "Connected" it may not be "Ready".
Callback will be called when the socket is closed. The socket is automatically closed on error or as a result of Libertas_NetClose call. Note that Libertas encourages reusing of the same socket object by passing a closed socket to a Libertas_NetConnect call.
Callback will be called when the socket is destroyed as a result of Libertas_NetDestroy call. A destroyed socket can not be reused.
The event type used to set up Libertas_SetOnNet call.
The value will also be passed to the LibertasNetCallback callback function.
Remarks
The network I/O is sent to the Thing-App task asynchronously. Read remarks on Libertas_SetOnNet for more information.