<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML> <HEAD> <TITLE>EXPORT_SPEC int UpnpWriteHttpPost</TITLE> <META NAME="GENERATOR" CONTENT="DOC++ 3.4.10"> </HEAD> <BODY BGCOLOR="#ffffff"> <H2>EXPORT_SPEC int <A HREF="#DOC.DOCU">UpnpWriteHttpPost</A></H2><H2>( IN void* handle,<BR> IN char* buf,<BR> IN unsigned int* size,<BR> IN int timeout )</H2><BLOCKQUOTE><B>UpnpWriteHttpPost</B> sends a request to a server to copy the contents of a buffer to the URI specified in the <B>UpnpOpenHttpPost</B> call.</BLOCKQUOTE> <A NAME="DOC.DOCU"></A> <HR> <H2>Documentation</H2> <BLOCKQUOTE><B>UpnpWriteHttpPost</B> sends a request to a server to copy the contents of a buffer to the URI specified in the <B>UpnpOpenHttpPost</B> call. <P></BLOCKQUOTE> <DL><DT><DT><B>Parameters:</B><DD><B>handle</B> - The handle of the connection created by the call to <B><!1><A HREF="UpnpOpenHttpPost.html">UpnpOpenHttpPost</A></B>. <BR><B>buf</B> - The buffer to be posted. <BR><B>size</B> - The size, in bytes of <B>buf</B>. <BR><B>timeout</B> - A timeout 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>, <B>buf</B> or <B>size</B> is not a valid pointer. <LI> <TT>UPNP_E_SOCKET_WRITE</TT>: An error or timeout occurred writing to 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>