Method ITcIoTcpProtocol:AllocSocket

Allocates a socket.

Syntax

HRESULT TCOMAPI AllocSocket(ITcIoTcpProtocolRecv* ipRecv, ULONG& socketId) 

Method ITcIoTcpProtocol:AllocSocket 1: Return value

Type

Description

HRESULT

Indicates success, see Return values.

Parameter

Name

Type

Description

ipRecv

ITcIoTcpProtocolRecv

Pointer to the receiver (Recv) interface.

socketId

ULONG&

The generated socket.