Forum Discussion
Lucas_de_Aguil1
Nimbostratus
Oct 02, 2018TCP::respond works with both ASCII and HEXADECIMAL bases?
Hey guys,
I need to send back a message with the command TCP::respond.
The message starts with its size in HEXADECIMAL (like 0065) and the rest of the message is in ASCII.
That works? ...
Kevin_Stewart
Employee
Oct 02, 2018Maybe this,
when CLIENT_DATA {
set message "0065thisisamessage"
TCP::respond $message
TCP::payload replace 0 [TCP::payload length] ""
}
This is technically how you would respond to a client with TCP data. Maybe the bigger question is if the client accepts it this way.
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