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

Retrieves the local IP address and port number.

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.