Subscribing to NewRequestReceived will disable automatic command execution

Apr 10, 2013 at 4:07 AM
Hi, firstly, thanks for the great library.

I am creating a log window to examine socket communication.
But whenever I subscribe to MyServer.NewRequestReceived, commands (inherited from StringCommandBase) will not be executed automatically.

Is this by design or a bug?

Apr 10, 2013 at 4:20 AM
Which protocol are you using? If you didn;t define it, you must use command line protocol (telnet format).
Then each request ends with "\r\n". SO if the server get the string which ends with "\r\n", the event will be fired.
Apr 10, 2013 at 4:38 AM
Thanks, I am using telnet format. The commands will be executed automatically if I unsubscribe NewRequestReceived.
Apr 10, 2013 at 4:43 AM
Yes, the commands and the event NewRequestReceived cannot be used in the same time.
Apr 10, 2013 at 4:50 AM
So it's by design, thanks !