Method ITcIoTcpProtocol:GetRemoteIpAddr

Returns the remote IP address of a communication partner.

Syntax

HRESULT TCOMAPI GetRemoteIpAddr(ULONG socketId, ULONG& remoteIpAddr) 

Method ITcIoTcpProtocol:GetRemoteIpAddr 1: Return value

Type

Description

HRESULT

Indicates success, see Return values.

Parameter

Name

Type

Description

socketId

ULONG

The socket to be used.