libupnp/docs/dist/html/upnp/UpnpCloseHttpPost.html
2006-07-06 12:37:29 +00:00

43 lines
1.8 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<TITLE>EXPORT_SPEC int UpnpCloseHttpPost</TITLE>
<META NAME="GENERATOR" CONTENT="DOC++ 3.4.10">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H2>EXPORT_SPEC int <A HREF="#DOC.DOCU">UpnpCloseHttpPost</A></H2><H2>( IN void* handle,<BR>&nbsp; IN OUT int* httpStatus,<BR>&nbsp; IN int timeout )</H2><BLOCKQUOTE><B>UpnpCloseHttpPost</B> sends and receives any pending data, closes the connection with the server, and frees memory allocated during the <B>UpnpOpenHttpPost</B> call.</BLOCKQUOTE>
<A NAME="DOC.DOCU"></A>
<HR>
<H2>Documentation</H2>
<BLOCKQUOTE><B>UpnpCloseHttpPost</B> sends and receives any pending data, closes the
connection with the server, and frees memory allocated during the
<B>UpnpOpenHttpPost</B> call.
<P></BLOCKQUOTE>
<DL><DT><DT><B>Parameters:</B><DD><B>handle</B> - The handle of the connection to close,
created by the call to
<B><!1><A HREF="UpnpOpenHttpPost.html">UpnpOpenHttpPost</A></B>.
<BR><B>httpStatus</B> - A pointer to a buffer to store the
final status of the connection.
<BR><B>timeout</B> - A time out value sent with the request
during which a response is expected from
the server, failing which, an error is
reported. <BR><DT><B>Returns:</B><DD> [int] An integer representing one of the following:
<UL>
<LI> <TT>UPNP_E_SUCCESS</TT>: The operation completed successfully.
<LI> <TT>UPNP_E_INVALID_PARAM</TT>: Either <B>handle</B>, or
<B>httpStatus</B> is not a valid pointer.
<LI> <TT>UPNP_E_SOCKET_READ</TT>: An error or timeout occurred reading
from a socket.
<LI> <TT>UPNP_E_OUTOF_SOCKET</TT>: Too many sockets are currently
allocated.
</UL>
<BR><DD></DL><P><P><I><A HREF="index.html">Alphabetic index</A></I></P><HR>
<BR>
This page was generated with the help of <A HREF="http://docpp.sourceforge.net">DOC++</A>.
</BODY>
</HTML>