Forum Discussion
VTE_Man_97174
Nimbostratus
Aug 04, 2009trigger server_data event from within client_data
is that possible? is there a way to force processing of the server_data event in response to some client event? I think I understand from the TCP::notify documentation that it's possible to trigger u...
spark_86682
Aug 05, 2009Historic F5 Account
There is no way to do that. SERVER_DATA is only triggered when the server sends data and there's a TCP collect on the server side. You can't be guaranteed to start that collect in CLIENT_DATA because there may not be a server side connection yet. The best way is to set a variable in whatever event you are in when you know you need to collect server data, and then do something like:
when SERVER_CONNECTED {
if { $need_to_collect } {
TCP::collect
}
}
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