Hello,
Is it possible to use more than one command processor* for TCP/IP or Telnet connections? It seems like it should be fine, but the Callback functions throw me off; they look like pointers, so would I overwrite the first command processor callbacks when I try and setup the second?
Thanks!
Christoph
* I am referring to chapter 5 of The NetBurner Runtime Libraries User Manual.
more than one command processor
Re: more than one command processor
Your going to have to make your call backs decide which type of command parser they want to be.
When a new connection is made you get to return a void * from CmdConnect_func
All your processing call backs get this void * so they can look at that ata blob and decide
how they want to respond.
When a new connection is made you get to return a void * from CmdConnect_func
All your processing call backs get this void * so they can look at that ata blob and decide
how they want to respond.