You are here

DlnDisconnect() Function

The DlnDisconnect() function closes the connection to the specified DLN server.

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

A server to which the function closes connection. This value can be a URL (e.g., example.com), or an IP address (e.g., 127.0.0.1). To close the connection to a server, launched on the same computer, you can use the predefined "localhost" value as a host name.

port

A port of the DLN server.

Return Value
DLN_RES_SUCCESS (0x00)

The function successfully closed connection to the DLN server.

DLN_RES_NOT_CONNECTED (0xA1)

Connection with the specified server is not established.

Remarks

The DlnDisconnect() function is defined in the dln_generic.h file.

Quentin Guillen...
Quentin Guillen Quentin's picture
Offline
Last seen: 1 month 1 week ago
Joined: 01/09/2019 - 11:12
DlnDisconnect() Function | USB-I2C/SPI/GPIO Interface Adapters

Do you haave a spam problem on this blog; I also am a blogger,
and I was wondering your situation; many of us have devveloped some nice practices and we are looking to exchange methods with others, why
not shoot me aan email if interested.

Feel free to visit my website - <a href="https://www.drajewebtasarim.com/">Antalya Web TasarıM</a>

Ernestine Weige...
Ernestine Weigel Ernestine's picture
Offline
Last seen: 2 weeks 2 days ago
Joined: 01/31/2019 - 08:47
DlnDisconnect() Function | USB-I2C/SPI/GPIO Interface Adapters

I like the valuable info you provide on your articles.

I will bookmark your weblog and take a look at once more right here regularly.

I am slightly sure I'll be informed many new stuff right
here! Best of luck for the next!

My webpage; fut millionaire sign in - http://new.urbanchina.org/space.php?uid=1145393&do=blog&id=586382

Ernestine Weige...
Ernestine Weigel Ernestine's picture
Offline
Last seen: 2 weeks 2 days ago
Joined: 01/31/2019 - 08:47
DlnDisconnect() Function | USB-I2C/SPI/GPIO Interface Adapters

I like the valuable info you provide on your articles.
I will bookmark your weblog and take a look at once moe right here regularly.

I am slightly sure I'll be informed many new
stuff right here! Beest of luck for the next!

Here is myy weblog :: fut millionaire sign in - http://new.urbanchina.org/space.php?uid=1145393&do=blog&id=586382

User login