Forum Discussion
OTS02
Cirrus
Feb 02, 2009show current connections with VB
Could someone provide me with a example of how to show current connections for a particular pool member in VB?
Thanks
Feb 05, 2009
You'll need to allocate the first entry in the 2-d array to be contain the second level array.
Something like this:
Dim memdef()() As iControl.CommonIPPortDefinition = _
New iControl.CommonIPPortDefinition(0)() {}
memdef(0) = New iControl.CommonIPPortDefinition(0)
memdef(0)(0) = New iControl.CommonIPPortDefinition
memdef(0)(0).address = member_ip
...
You might need to allocate those arrays to size one instead of zero though. I'm away from my dev box right now so I can't test it.
Hope this helps.
-Joe
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