ConnectToServer man page on Solaris

Man page or keyword search:  
man Server   20652 pages
apropos Keyword Search (all sections)
Output format
Solaris logo
[printable version]

ConnectToServer(3DMI)	     DMI Library Functions	 ConnectToServer(3DMI)

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 TYPE	     │	    ATTRIBUTE VALUE	   │
       ├─────────────────────────────┼─────────────────────────────┤
       │Interface Stability	     │Obsolete			   │
       ├─────────────────────────────┼─────────────────────────────┤
       │MT-level		     │Safe			   │
       └─────────────────────────────┴─────────────────────────────┘

SEE ALSO
       DisconnectToServer(3DMI),attributes(5)

SunOS 5.10			  30 May 2012		 ConnectToServer(3DMI)
[top]

List of man pages available for Solaris

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net