Forum Discussion
jcook_105986
Nimbostratus
May 20, 2008how 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?
- Nicolas_Menant
Employee
Hi, - 1) Just as mnenant has said, there is the member "initialized" in the iControl.Interfaces class that get's set when you successfully initialize the class. This is the same boolean that is returned from the initialize call.
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects