jcook_105986
May 20, 2008Nimbostratus
how do i check the connection status?
the following code initialize an iControl handle, and then
connects the hanlde to the BIG-IP server.
/////////////////////////////////////////////////
public iControl.Interfaces m_interfaces =
new iControl.Interfaces();
bool conSucess= m_interfaces.initialize
("000.000.000.000", "admin", "xxxx");
/////////////////////////////////////////////////
I am working on this big project, and my part of programming
is very small, thus I do not know other part of the project.
I have this global iControl handle called "m_interfaces".
question 1)
How do i know whether someone already has established a connection or not?
question 2)
Once a connection gets established, it seems like no matter how many times
i call "m_interfaces.initialize()" method, it does not affect the iControl handle.
So... is it ok to use "m_interfaces.initialize" method everytimes when
I am not sure whether the iControl handle has been established a connection or not?