Click or drag to resize

ClientAPIConnect(String, Int32) Method

Connects to the card identified by its hostNameOrAddresshostname or IPAddress.

Namespace: RAYLASE.SPICE3.ClientLib
Assembly: RAYLASE.SPICE3.ClientLib (in RAYLASE.SPICE3.ClientLib.dll) Version: 3.6.0
Syntax
C#
public void Connect(
	string hostNameOrAddress,
	int port = 49374
)

Parameters

hostNameOrAddress  String
The hostname or IPAddress assigned to the desired card.
port  Int32  (Optional)
The TCP Port used by the card. Should not normally be altered from its default value (49374).
Remarks

Multiple TCP/IP connections can exist simultaneously to one card. This can lead to unexpected behavior if the clients are sending conflicting commands. For example, if controller A sends a command to change the marking speed, while controller B's mark command is still in progress.

See Also