Call this function to retrieve an interface, ICogIOTCPIP, of a QB TCP/IP device used to receive an input message.
Namespace: Cognex.VisionPro.QuickBuildAssembly: Cognex.VisionPro.QuickBuild.Core (in Cognex.VisionPro.QuickBuild.Core.dll) Version: 93.1.0.0 (93.1.0.0)
Syntax
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: ICogIOTCPIPICogIOTCPIP interface if the device is found. Returns null otherwise.
See Also