On Thu, Dec 15, 2011 at 5:33 AM, Zdenek Styblik <zdenek.styb...@gmail.com> wrote: [...] >> That would be good if we can add some default timeout also if the user has >> not given any timeout. >> Else we will always be blocked if there is no response on that fd if the >> user has not provided. >> Like default of 2 or 5 second if the user has not provided. >> > > Yep, sounds reasonable and that's the plan. > Actually, 0 or (-1) could be used to signal "never time-out" to keep > the current behaviour. >
Hi, I finally got around to take a look at this. Sadly, I can't think of anything else than just some default time-out. Time-out and retry information is passed in struct ipmi_session, which is not available in Open interface nor makes sense there anyway(right). And I'm not sure about extending ipmi_openipmi_send_cmd() parameters, because it could "break" something. Or does somebody have any idea? Except leave it be as it is or "hardcode" time-out eg. 5-20s or whatever. Thanks, Z. ------------------------------------------------------------------------------ Write once. Port to many. Get the SDK and tools to simplify cross-platform app development. Create new or port existing apps to sell to consumers worldwide. Explore the Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join http://p.sf.net/sfu/intel-appdev _______________________________________________ Ipmitool-devel mailing list Ipmitool-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ipmitool-devel