Method ITcIoUdpProtocol:RegisterReceiver

Registering at the TCP/UDP RT module for receiving data.

Syntax

HRESULT TCOMAPI RegisterReceiver(USHORT udpPort, ITcIoUdpProtocolRecv* ipRecv) 

Method ITcIoUdpProtocol:RegisterReceiver 1: Return value

Type

Description

HRESULT

Indicates success, see Return values.

Parameter

Name

Type

Description

udpPort

USHORT

Port on which the data is to be received.

ipRecv

ITcIoUdpProtocolRecv*

Pointer to the receiver (Recv) interface.