Symbian
Symbian OS Library

SYMBIAN OS V9.3

[Index] [Spacer] [Previous] [Next]



Location: socket.h

getpeername()

IMPORT_C int getpeername(int, struct sockaddr *, size_t *);

Description

Returns the peer address of the specified socket.

Parameters

int

struct sockaddr *

size_t *

Return value

int

On Success, returns 0. On Failure, returns -1, errno may be set.