求例子

解决方案 »

  1.   

    The Windows Sockets gethostbyname function retrieves host information corresponding to a host name from a host database.struct hostent FAR * gethostbyname (
      const char FAR * name  
    );
      

  2.   

    在EXE中如何得到,DLL中就如何得到
      

  3.   

    gethostname()
    gethostbyname()============================================================================
    提问题时标题要简明扼要地说明问题内容,切忌使用"急","求救"之类不能说明问题的标题
    http://alphasun.betajin.com/   遇到问题可以给我发消息,给我发信息时请附带原帖地址
    DocWizard C++程序文档自动生成工具 | Wave OpenGL | HttpProxy | AjaxParser词法分析