CogJobManager StreamInput Method Cognex VisionPro 9.24
Call this function to retrieve an interface, ICogIOTCPIP, of a QB TCP/IP device used to receive an input message.

Namespace: Cognex.VisionPro.QuickBuild
Assembly: Cognex.VisionPro.QuickBuild.Core (in Cognex.VisionPro.QuickBuild.Core.dll) Version: 91.0.0.0 (91.0.0.0)
Syntax

public ICogIOTCPIP StreamInput(
	string host,
	int portMumber,
	bool client
)

Parameters

host
Type: System String
Either a hostname or IP address. Use "localhost" as a server hostname.
portMumber
Type: System Int32
Port number
client
Type: System Boolean
True for a client device type, false for a server device type

Return Value

Type: ICogIOTCPIP
ICogIOTCPIP interface if the device is found. Returns null otherwise.
See Also