Documentation

Net::Socket::Connect

Method in Socket

bool Connect(const string&in host, uint16 port)

Start a connection to the given host and port. This is non-blocking and will immediately return. Use IsReady() to wait for the connection to be ready.

string host

uint16 port

Returns bool