tcp/udp flow engine