Author Archives: Silver Moon

About Silver Moon

A Tech Enthusiast, Blogger, Linux Fan and a Software Developer. Writes about Computer hardware, Linux and Open Source software and coding in Python, Php and Javascript. He can be reached at [email protected].

Raw socket programming on windows with winsock

By | July 30, 2020

Raw sockets using winsock Raw sockets or “Raw Packets”, enable a program to access the entire contents of a packet or datagram, both for reading and writing purpose. In other words, you can fabricate a whole packet according to your likes and dislikes. For example, a TCP packet would contain an IP header, a TCP… Read More »

C Program to print permutations of a string

By | July 31, 2020

Permutations Permutations is the set of all different unique arrangements of the letters of the string. So for the string “ABC” there are 6 permutations – ABC, ACB, BAC, BCA, CAB, CBA. The permutations can also be taken on a smaller length. For example if we want to get permutations of ABC over only 2… Read More »