connect

Synopsis

Will connect for incoming connections (via IPC, or TCP) depending on the format string passed as the endpoint argument.

Parameters

Parameter Description
const char* ep String describing the endpoint the LinQ Network Library should connect to.

Example

altronix::AtxNet net{};
linq_network_socket sock = net.connect("tcp://*:33455");

// ...

net.close(sock);

See Also

  1. linq_network_connect