EDK2 doxygen online documents - Firmware Encoding Index 1
EDK2 doxygen online documents - Firmware Encoding Index
Functions | Variables

AppPkg/Applications/Sockets/GetHostByName/GetHostByName.c File Reference

#include <errno.h>
#include <netdb.h>
#include <string.h>
#include <Uefi.h>
#include <unistd.h>
#include <Library/DebugLib.h>
#include <Library/UefiLib.h>
#include <sys/socket.h>

Go to the source code of this file.

Functions

int main (IN int Argc, IN char **Argv)

Variables

char mBuffer [65536]

Detailed Description

Translate the host name into an IP address

Copyright (c) 2011, Intel Corporation All rights reserved. This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at http://opensource.org/licenses/bsd-license.php

THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.

Definition in file GetHostByName.c.


Function Documentation

int main ( IN int  Argc,
IN char **  Argv 
)

Translate the host name into an IP address

Parameters:
[in]ArgcThe number of arguments
[in]ArgvThe argument value array
Return values:
0The application exited normally.
OtherAn error occurred.

Definition at line 39 of file GetHostByName.c.


Variable Documentation

char mBuffer[65536]

Definition at line 26 of file GetHostByName.c.

 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Defines