gethostnameLibrary: Wsock32Min. Required OS: Requires Windows Sockets 1.1 or laterGroup: WinSockDescription: The Windows Sockets gethostname function returns the standard host name for the local machine.Example(s): GetIPRelated function(s): WSAStartup WSACleanup WSAGetLastError gethostbyname