The OpenNET Project / Index page

[ новости /+++ | форум | теги | ]

Интерактивная система просмотра системных руководств (man-ов)

 ТемаНаборКатегория 
 
 [Cписок руководств | Печать]

ConnectToServer (3)
  • >> ConnectToServer (3) ( Solaris man: Библиотечные вызовы )
  •  

    NAME

    ConnectToServer - connect to a DMI service provider
     
    

    SYNOPSIS

    cc [ flag ... ] file ... -ldmici -ldmimi   [ library ... ]
    #include <dmi/api.hh>
    

    bool_t ConnectToServer(ConnectI *argp, DmiRpcHandle *dmi_rpc_handle);  

    DESCRIPTION

    The ConnectToServer() function enables a management application or a component instrumentation to connect to a DMI service provider.

    The argp parameter is an input parameter that uses the following data structure:

    
    struct ConnectIN {
            char        *host;
            const char  *nettype;
            ServerType  servertype;
            RpcType     rpctype;
    }
    
    

    The host member indicates the host on which the service provider is running. The default is localhost.

    The nettype member specifies the type of transport RPC uses. The default is netpath.

    The servertype member indicates whether the connecting process is a management application or a component instrumentation.

    The rpctype member specifies the type of RPC, either ONC or DCE. Only ONC is supported in the Solaris 7 release.

    The dmi_rpc_handle parameter is the output parameter that returns DMI RPC handle.  

    RETURN VALUES

    The ConnectToServer() function returns TRUE if successful, otherwise FALSE.  

    ATTRIBUTES

    See attributes(5) for descriptions of the following attributes:

    ATTRIBUTE TYPEATTRIBUTE VALUE
    MT-levelSafe

     

    SEE ALSO

    DisconnectToServer(3DMI),attributes(5)


     

    Index

    NAME
    SYNOPSIS
    DESCRIPTION
    RETURN VALUES
    ATTRIBUTES
    SEE ALSO


    Поиск по тексту MAN-ов: 




    Партнёры:
    PostgresPro
    Inferno Solutions
    Hosting by Hoster.ru
    Хостинг:

    Закладки на сайте
    Проследить за страницей
    Created 1996-2024 by Maxim Chirkov
    Добавить, Поддержать, Вебмастеру