Hii all,
 
   The following way i am establishing the lan  connection to the remote 
machice, please  tell me 
my way correct or not.


            

   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);
                                                                                
                                                                                
                                                                                
                                                                                
                                                   
  if (rv)
  {
    printf(\"Error:Unable to setting up LAN connection\\n\");
    return 0;
  }
                                                                                
                                             
  rv = ipmi_open_domain(\"\", &con, 1, handle_domain, this, domain_fully_up, 
this, NULL, 0, NULL);
  if (rv)
  {
    printf(\"Error:Unable to open domain\\n\");
    return 0;
  }


Thanks
barani

-------------------------------------------------------------------------
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