Category Archives: Socket Programming

Socket programming tutorials in C, Python, Perl, Php, Java and Winsock

Browse Sub-Categories:

How to Code Syn Flood Program in Perl with Raw Sockets on Linux

By | August 8, 2020

Syn Flood Syn flood program sends out a large number of syn packets to a destination host such that the destination host gets under heavy pressure to reply to all of them and hence consumes huge amount of memory/cpu resources without any real purpose. This causes the services of the remote host to become unavailable… Read More »

Perl Socket programming Tutorial – How to code Client and Server

By | August 1, 2020

Tcp/IP Socket programming Sockets enable your program or application to talk to other machines over the network. When you type in google.com in your browser, it talks to google.com over the internet and fetches the webpage. For socket programming we need to use the socket library or api which provides some very simple functions to… Read More »

Udp Socket Programming in Java – How to Code Client and Server

By | August 5, 2020

UDP – User Datagram Protocol sockets UDP is an alternative protocol to the more commonly used TCP protocol. It is a connection-less protocol where you directly send packets without have to establish a proper connection. UDP packets have smaller headers compared to TCP headers. Also data communication is faster since no acknowledgement is exchanged for… Read More »