VMS Help CC, Socket Routines, getpeername *Conan The Librarian (sorry for the slow response - running on an old VAX) |
Returns the name of the connected peer. Syntax: #include <types.h> #include <socket.h> _DECC_V4_SOURCE defined: int getpeername(int s, struct sockaddr *name, int *namelen); _DECC_V4_SOURCE not defined: int getpeername(int s, struct sockaddr *name, size_t *namelen);
|