DlnConnect()

Syntax

C/C++
  DLN_RESULT DlnConnect(
     const char* host,
     uint16_t port
  );
     

The DlnConnect() function establishes the connection to the DLN server.

Parameters:

host
A server to establish the connection to. This value can be a URL (e.g. www.diolan.com), or an IP address (e.g. 127.0.0.1). In order to connect to a server, launched on the same computer, you can use the predefined "localhost" value as a host name.
port
A port number of the DLN server.

This function is defined in the dln_generic.h file.