Forum Discussion
Benjamin_Wong_1
Nimbostratus
Apr 01, 2006How to make a binary UDP respond packet ?
Actually I am doing a project, it needs the F5 to respond a UDP packet with binary data.
but when i want to respond the UDP packet with UDP::respond , with binary data \x00, the packet it g...
Benjamin_Wong_1
Nimbostratus
Apr 03, 2006Actually i have tried to use the binary format command.
see this code :
when CLIENT_ACCEPTED {
set packet [binary format S {0x0000}]
UDP::response $packet
}
but when i get the ethereal trace on it, it still gives C080 C080 instead of 0000.
what we want is to writing 0000 into the packet.
I have found TCL manual, normally we will use fconfigure $fp -translation binary for writing binary data to file or channel. but how about the UDP::respond method? can it configure to accept binary data?
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
