![Collapse image Collapse image](collapse_all.gif)
![Expand Image Expand Image](expand_all.gif)
![](collapse_all.gif)
![](expand_all.gif)
![](dropdown.gif)
![](dropdownHover.gif)
![Copy image Copy image](copycode.gif)
![CopyHover image CopyHover image](copycodeHighlight.gif)
![]() ![]() |
Lidgren Network Library documentation |
NetPeer..::..GetConnection Method |
NetPeer Class See Also Send Feedback |
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)"]