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