Rifat Rashid
Rifat Rashid

Reputation: 96

Sending TCP Packets through IP Address

I know you can send UDP, HTTP, and TCP packets in java to a specific IP address. Since i'm learning c# i decided to make a Low Orbit Ion Cannon. Basically its used for stress testing network. So i'm kinda curious is their anyway to send TCP packets in c#. Could you give me some code examples? I tried to look online but couldn't find anything.

Upvotes: 0

Views: 1437

Answers (1)

TheEdge
TheEdge

Reputation: 9851

I would have a look at http://msdn.microsoft.com/en-us/library/system.net.sockets.socket(v=vs.110).aspx for an introduction of what C# can do for you using a socket. And http://www.csharp-examples.net/socket-send-receive/ has an example of send and receive using a socket.

Upvotes: 1

Related Questions