AcornSearch - Acorn and RISC OS information searching
RISC OS Search
containing
"Nutty quip goes here!"
Home  |  About  |  Filebase Archive  |  StrongHelp Manuals  |  Newsgroups  |  Module Database
Syntax:     int getpeername(int s, struct sockaddr *name, int *namelen);
Header:     NetLib -     sys/socket.h
     Sockets -     socklib.h
     UnixLib -     sys/socket.h

Returns:     0 for success, EOF if failed

This call returns the address that the socket is connected to (if any) in the supplied address block.

C definition     SWI definition

[sh-index] Back to list of manuals