Syntax
int vm_soc_getpeername(
    int s, 
    SOCKADDR* addr, 
    int* len
);
ContentsIndex
PreviousUpNext
vm_soc_getpeername
Syntax
int vm_soc_getpeername(
    int s, 
    SOCKADDR* addr, 
    int* len
);
Description

Retrieves the IP address and port number of the endpoint node.

Parameters
Parameters 
Description 
SOCKADDR* addr 
[OUT] Structure that will receive IP address and port number upon the return. 
int* len 
[OUT] Length of SOCKADDR structure. 
sock 
[IN] Socket descriptor. 
Returns

Refer to VM_SOC_RESULT for return value.

File

vmsock.h

Group
Created with a commercial version of Doc-O-Matic. In order to make this message disappear you need to register this software. If you have problems registering this software please contact us at support@toolsfactory.com.