Java Snips

Programming Resources Links

Programming Resources Links, Programming resources, useful programs links

Codechef’s resource compilation: Getting started with C++ STL: Extended Euclid: nCr mod m: For non-prime m <= 10^4 and n, r <= 10^5 – For n, r, m <= 10^9 and Squarefree nonprime m with small prime factors – For n, r <= …

Read More »

Multicast Using Java Sockets

socket pogram

Java Socket APIs enable network communication where client-server communication can be established in three ways: one-to-one communication (client-server), one-to-all communication (broadcast), and one-to-many communication (multicast).   Basics: IPv4 uses 32-bit addressing and can be supported about 4.3 billion devices, IPv6 uses 64-bit addressing that can support about 3.4e104 devices! However, IPv4 is …

Read More »