<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML> <HEAD> <TITLE>EXPORT_SPEC unsigned short UpnpGetServerPort</TITLE> <META NAME="GENERATOR" CONTENT="DOC++ 3.4.10"> </HEAD> <BODY BGCOLOR="#ffffff"> <H2>EXPORT_SPEC unsigned short <A HREF="#DOC.DOCU">UpnpGetServerPort</A></H2><H2>(void)</H2><BLOCKQUOTE>If '0' is used as the port number in <B>UpnpInit</B>, then this function can be used to retrieve the actual port allocated to the SDK.</BLOCKQUOTE> <A NAME="DOC.DOCU"></A> <HR> <H2>Documentation</H2> <BLOCKQUOTE>If '0' is used as the port number in <B>UpnpInit</B>, then this function can be used to retrieve the actual port allocated to the SDK. If <B>UpnpInit</B> has not succeeded then 0 is returned. <P></BLOCKQUOTE> <DL><DT><DT><B>Returns:</B><DD> [unsigned short] The port on which an internal server is listening for UPnP related requests. <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>