Connect Method (IPEndPoint)

Lidgren.Network

Collapse imageExpand ImageCopy imageCopyHover image
Create a connection to a 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 Connect(
	IPEndPoint remoteEndpoint
)
Visual Basic
Public Function Connect ( _
	remoteEndpoint As IPEndPoint _
) As NetConnection
Visual C++
public:
NetConnection^ Connect(
	IPEndPoint^ remoteEndpoint
)

Parameters

remoteEndpoint
Type: System.Net..::..IPEndPoint

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

Return Value

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

See Also