[Bro] type conversion
Vern Paxson
vern at icir.org
Tue May 3 19:41:23 PDT 2005
> I have a simple question: how to convert a string to a port? I
> extract the
> port information from a string and need to assign it to a port variable. Any
> suggestion will be appreciated.
There's no support for that. You'll need to write a built-in function
(see src/bro.bif).
What's the context? Knowing that would help me in thinking about various
needs for type conversion in the Bro language.
Vern
More information about the Bro
mailing list