- addressQueue
AddressInfo[] addressQueue;
Queue of addresses to try connecting to.
- doSend
sizediff_t doSend(void[] buffer)
Undocumented in source. Be warned that the author may not have intended to support it.
- doReceive
sizediff_t doReceive(void[] buffer)
Undocumented in source. Be warned that the author may not have intended to support it.
- tryNextAddress
void tryNextAddress()
Undocumented in source. Be warned that the author may not have intended to support it.
- onError
void onError(string reason)
Called when an error occurs on the socket.
- connect
void connect(string host, ushort port)
void connect(AddressInfo[] addresses)
Start establishing a connection.
An object which allows calling a function in a different thread. Create ThreadAnchor in the main thread (the thread in which the code will run in), and then call runWait or runAsync from a different thread.
The main thread must be running an unblocked ae.net.asockets event loop.