You are here

DlnConnect() Function

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

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

A server to which the function establishes connection. This value can be a URL (e.g., example.com), or an IP address (e.g., 127.0.0.1). 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. If you use DLN-series device on the same computer use "9656" port value or the predefined DLN_DEFAULT_SERVER_PORT constant.

Return Value
DLN_RES_SUCCESS (0x00)

The function successfully established connection to the DLN server.

Remarks

The DlnConnect() function is the dln_generic.h file.

Elvira Brassard...
Elvira Brassard Elvira's picture
Offline
Last seen: 7 months 2 weeks ago
Joined: 07/05/2018 - 14:32
DlnConnect() Function | USB-I2C/SPI/GPIO Interface Adapters

My spouse and I stumbled over here from a different page and thought I
may as well check things out. I like what I see so now i'm
following you. Look forward to finding out about
your web page yet again.

Feel free to visit my blog post ... <a href="https://fightingvision.wixsite.com/mysite">watch this video</a>

Melba Hair Melba
Melba Hair Melba's picture
Offline
Last seen: 1 week 4 days ago
Joined: 01/24/2019 - 09:17
DlnConnect() Function | USB-I2C/SPI/GPIO Interface Adapters

Howdy! Quick question that's totally off
topic. Do you know how too maqke your site mobile friendly?
My site looks weird when browsing from my iphone4.
I'm trying tto find a theme or plugin that mighht be able to
fix this issue. If you have any suggestions, please share.

Many thanks!

Feeel free too surf to my weblog: the ex factor guide download
- https://lyzbk.tk/archives/133944

Melba Hair Melba
Melba Hair Melba's picture
Offline
Last seen: 1 week 4 days ago
Joined: 01/24/2019 - 09:17
DlnConnect() Function | USB-I2C/SPI/GPIO Interface Adapters

Howdy! Quick question that's totally off topic. Do
you kniw how too make your site mobile friendly? My site looks weird
wwhen browsing from my iphone4. I'm trying to find a theme or plugin that might bbe able to
fix this issue. If youu have any suggestions, please share.
Many thanks!

Feel free to surf tto my site :: the ex factor guide download - https://lyzbk.tk/archives/133944

Erma Stauffer Erma
Erma Stauffer Erma's picture
Offline
Last seen: 2 weeks 2 days ago
Joined: 01/31/2019 - 14:08
DlnConnect() Function | USB-I2C/SPI/GPIO Interface Adapters

Very nice post. I just stumbled upon your weblog and wanted to
say that I have really enjoyed browsing your blog posts. After all I'll be subscribing to your rss feed and I hope you write again very soon!

Take a look at my homepage: kindle money mastery youtube - http://51519000.com/comment/html/?3739.html

Erma Stauffer Erma
Erma Stauffer Erma's picture
Offline
Last seen: 2 weeks 2 days ago
Joined: 01/31/2019 - 14:08
DlnConnect() Function | USB-I2C/SPI/GPIO Interface Adapters

Very nicxe post. I just stumbled upon your weblog and wanted too say
that I have really enjoyed browsing your blog posts. After all I'll be subscribing
to your rss feed and I hpe you write again very soon!

Stop by my web blog - kindle money mastery youtube - http://51519000.com/comment/html/?3739.html

User login