Initializes the engine with the given Listen port.

Namespace: FIXForge.NET.FIX
Assembly: FIXForge.NET.FIX.Engine-net-3.5 (in FIXForge.NET.FIX.Engine-net-3.5.dll) Version: 2.79.1.0

Syntax

C#
public static Engine Init(
	int listenPort
)
Visual Basic
Public Shared Function Init ( _
	listenPort As Integer _
) As Engine
Visual C++
public:
static Engine^ Init(
	int listenPort
)

Parameters

listenPort
Type: System..::..Int32
The engine listens on this port for incoming connections. If '0' then only session-initiators can be created. If '-1' then the telecommunication level is disabled and only message parsing/assembling can be used.

Return Value

Instance of the Engine.

Remarks

Must be called before any other method of the library.

See Also