After a little change in my c++ code, my plugin will now support 2 protocols for communication, UDP and TCP.