[EMAIL PROTECTED] wrote:
> Hii all,
>
>  rv = ipmi_ip_setup_con(tip, tport, 1, authcode,  priv_code, (void*) 
> this->m_user, user_length,(void *) this->m_pass, pass_length, os_hnd, NULL, 
> &con);
>
> what is the return value for the above function, after successfully 
> establishing the connection ??
>    
> what is the return value for the above function, after if not able to 
> establish the connection??
>
> Thanks
> barani
>   
That function doesn't set up a connection, it just creates a object that
can be used to set up a connection.  Basically, that function will fail
if it cannot lookup the name or cannot allocate memory.

I'd recommend using the same function that the sample code uses for
setting up connections.  That way you are consistent with everything
else, it will work on different types of connections, and will work with
IPMI 2.0 LAN connections.

-corey

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Openipmi-developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openipmi-developer

Reply via email to