ConnectionAttempt

Embodies the idea of a connection attempt.

Members

Enums

ConnectState
enum ConnectState

The various states a connection attempt may be in.

Variables

errno
int errno;

errno at time of connect.

error
string error;

The error message as thrown by an exception.

ip
Address ip;

The IP that the attempt is trying to connect to.

retryNum
uint retryNum;

The number of retries so far towards this ip.

state
ConnectState state;

The current state of the attempt.