⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 slpclose.html

📁 SLP协议在linux下的实现。此版本为1.2.1版。官方网站为www.openslp.org
💻 HTML
字号:
<!doctype html public "-//w3c//dtd html 4.0 transitional//en"><html><head>   <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">   <meta name="GENERATOR" content="Mozilla/4.77C-CCK-MCD Caldera Systems OpenLinux [en] (X11; U; Linux 2.4.2 i686) [Netscape]">   <title>OpenSLP Programmers Guide - SLPClose</title></head><body text="#000000" bgcolor="#FFFFFF" link="#0000EF" vlink="#51188E" alink="#FF0000"><h2>SLPClose</h2><hr WIDTH="100%"><h3>Declaration</h3><tt>#include &lt;slp.h></tt><p><tt>void SLPClose(<a href="SLPTypes.html#SLPHandle">SLPHandle</a> <a href="#hslp">hslp</a>)</tt><br>&nbsp;<h3>Description</h3>Frees all resources associated with the handle.&nbsp; If the handle wasinvalid, the functions returns silently.&nbsp; Any outstanding synchronousor asynchronous operations are canceled so their callback functions willnot be called any longer.<p>In the OpenSLP implementation, SLPHandles are used to cache informationthat is costly to obtain (in terms of network usage and time).&nbsp;&nbsp;Since the RFC 2614 API does not provide function calls to for library initialization,&nbsp;OpenSLP keeps track of the number of SLPHandles that are open.&nbsp;&nbsp;Several global library data structures are initialized when the first SLPHandleis opened and maintained until the last SLPHandle is closed.&nbsp; Therefore,it is most efficient to leave SLPHandles open for as long as you will needthem (often for the entire life of a process).&nbsp;&nbsp;&nbsp; If youcan help it, DO NOT make a habit of opening and closing SLPHandles frequently.<h3>Parameters</h3><table BORDER CELLPADDING=5 NOSAVE ><tr VALIGN=TOP NOSAVE><td NOSAVE><a NAME="hslp"></a>hslp</td><td NOSAVE>An open <tt>SLPHandle</tt> that was returned by <tt><a href="SLPOpen.html">SLPOpen()</a></tt></td></tr></table><h3>Returns</h3>None<br>&nbsp;<h3>Status</h3><table CELLPADDING=5 NOSAVE ><tr VALIGN=TOP NOSAVE><td NOSAVE>OpenSLP 0.6.0</td><td NOSAVE>Fully implemented as specified by RFC 2614</td></tr></table><h3>See Also</h3><tt><a href="SLPOpen.html">SLPOpen()</a></tt><br>&nbsp;<br>&nbsp;</body></html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -