GetConnection Method

Lidgren.Network

Collapse imageExpand ImageCopy imageCopyHover image
Get the connection, if any, for a certain remote endpoint

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

Syntax

C#
public NetConnection GetConnection(
	IPEndPoint ep
)
Visual Basic
Public Function GetConnection ( _
	ep As IPEndPoint _
) As NetConnection
Visual C++
public:
NetConnection^ GetConnection(
	IPEndPoint^ ep
)

Parameters

ep
Type: System.Net..::..IPEndPoint

[Missing <param name="ep"/> documentation for "M:Lidgren.Network.NetPeer.GetConnection(System.Net.IPEndPoint)"]

Return Value

[Missing <returns> documentation for "M:Lidgren.Network.NetPeer.GetConnection(System.Net.IPEndPoint)"]

See Also