Method ITcIoTcpProtocol:Listen

Opens a TCP port for incoming connections. The application is described in the interface overview.

Syntax

HRESULT TCOMAPI Listen(ULONG socketId, USHORT tcpPort) 

Method ITcIoTcpProtocol:Listen 1: Return value

Type

Description

HRESULT

Indicates success, see Return values.

Parameter

Name

Type

Description

socketId

ULONG

The socket to be used.

tcpPort

USHORT

The port which is scanned for incoming connections.