getsockopt(SOCKET,LEVEL,OPTNAME)

Returns the socket option requested, or undefined if
there is an error. Sockets are not yet supported on
MS-DOS.