Added the start tcp/udp server function