Home | All Classes | Grouped Classes | Index | Search

# CL_NetSession::connect_async

Connect to remote netsession asyncronously.

    	CL_NetComputer connect_async(
    		const std::string& hostname, const std::string& port);

Detailed description:

The DNS lookup and connect is done in a worker thread, thus not blocking the calling thread. If the connection fails, CL_NetSession::sig_disconnected() is emitted.

See also:

CL_NetComputer | CL_NetSession

Questions or comments, write to the ClanLib mailing list.