AcceptIncomingConnections Property

Lidgren.Network

Collapse imageExpand ImageCopy imageCopyHover image
Gets or sets if the NetPeer should accept incoming connections. This is automatically set to true in NetServer and false in NetClient.

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

Syntax

C#
public bool AcceptIncomingConnections { get; set; }
Visual Basic
Public Property AcceptIncomingConnections As Boolean
	Get
	Set
Visual C++
public:
property bool AcceptIncomingConnections {
	bool get ();
	void set (bool value);
}

See Also