<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://dev.playonset.com/index.php?action=history&amp;feed=atom&amp;title=GetServerPort</id>
	<title>GetServerPort - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://dev.playonset.com/index.php?action=history&amp;feed=atom&amp;title=GetServerPort"/>
	<link rel="alternate" type="text/html" href="https://dev.playonset.com/index.php?title=GetServerPort&amp;action=history"/>
	<updated>2026-04-24T07:15:11Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.3</generator>
	<entry>
		<id>https://dev.playonset.com/index.php?title=GetServerPort&amp;diff=4459&amp;oldid=prev</id>
		<title>BlueMountains: Created page with &quot;{{Info|Function|Client|1.3.0}}  {{FuncDescription|Gets the current server port.}}  {{FuncSyntax|GetServerPort()}}  {{FuncParameters}} {{FuncNoParam}}  {{FuncReturnValue|The po...&quot;</title>
		<link rel="alternate" type="text/html" href="https://dev.playonset.com/index.php?title=GetServerPort&amp;diff=4459&amp;oldid=prev"/>
		<updated>2020-10-07T09:19:58Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{Info|Function|Client|1.3.0}}  {{FuncDescription|Gets the current server port.}}  {{FuncSyntax|GetServerPort()}}  {{FuncParameters}} {{FuncNoParam}}  {{FuncReturnValue|The po...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Info|Function|Client|1.3.0}}&lt;br /&gt;
&lt;br /&gt;
{{FuncDescription|Gets the current server port.}}&lt;br /&gt;
&lt;br /&gt;
{{FuncSyntax|GetServerPort()}}&lt;br /&gt;
&lt;br /&gt;
{{FuncParameters}}&lt;br /&gt;
{{FuncNoParam}}&lt;br /&gt;
&lt;br /&gt;
{{FuncReturnValue|The port as an integer, useful for [[ConnectToServer]].}}&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Lua&amp;quot;&amp;gt;&lt;br /&gt;
ConnectToServer(GetServerIP(), GetServerPort())&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{RelatedFunctions}}&lt;br /&gt;
* [[GetNetworkStats]]&lt;br /&gt;
* [[GetServerIP]]&lt;/div&gt;</summary>
		<author><name>BlueMountains</name></author>
	</entry>
</feed>