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 getsockopt (int s, int level, int optname, void *optval, int *optlen);
Header:     NetLib -     sys/socket.h
     Sockets -     socklib.h
     UnixLib -     sys/socket.h

Returns:     0 for success, EOF if failed

level can be SOL_SOCKET, or a protocol number
optval can be SOL_SOCKETIP options or TCP options

This call can be used to read the current value of any of the options set using Socket_Setsockopt or setsockopt().

C definition     SWI definition

[sh-index] Back to list of manuals