Port Property

Lidgren.Network

Collapse imageExpand ImageCopy imageCopyHover image
Gets the port number this NetPeer is listening and sending on, if Start() has been called

Namespace: Lidgren.Network
Assembly: Lidgren.Network (in Lidgren.Network.dll) Version: 2012.1.7.0 (2012.1.7.0)

Syntax

C#
public int Port { get; }
Visual Basic
Public ReadOnly Property Port As Integer
	Get
Visual C++
public:
property int Port {
	int get ();
}

See Also