M_Furcadia_Net_DirectConnection_NetConnection__ctor_2 - StarShip-Avalon-Projects/FurcadiaFramework GitHub Wiki

NetConnection Constructor (String, Int32)

This stuff is still in the planning stages. Any questions or Comments are welcome. [This is preliminary documentation and is subject to change.]

Connect to game server with Host DNS and Specified port

Namespace: Furcadia.Net.DirectConnection
Assembly: FurcadiaLib (in FurcadiaLib.dll) Version: 2.19.PreAlpha 43

Syntax

C#

public NetConnection(
	string host,
	int port
)

VB

Public Sub New ( 
	host As String,
	port As Integer
)

VB Usage

Dim host As String
Dim port As Integer

Dim instance As New NetConnection(host, port)

C++

public:
NetConnection(
	String^ host, 
	int port
)

F#

new : 
        host : string * 
        port : int -> NetConnection

Parameters

 

host
Type: System.String
Game Server Host name
port
Type: System.Int32
Game server TCP Port

See Also

Reference

NetConnection Class
NetConnection Overload
Furcadia.Net.DirectConnection Namespace

⚠️ **GitHub.com Fallback** ⚠️