Tag Archives: Programming

Java Socket Programming – Send the file using TCP Sockets

Sockets provide the communication mechanism between two computers using TCP. A client program creates a socket on its end of the communication and attempts to connect that socket to a server. When the connection is made, the server creates a socket object at the end of the communication. The client and the server can now … Continue reading Java Socket Programming – Send the file using TCP Sockets

C Socket Programming – Send the file using TCP Sockets

Sockets provide the communication mechanism between two computers using TCP. A client program creates a socket on its end of the communication and attempts to connect that socket to a server. When the connection is made, the server creates a socket object at the end of the communication. The client and the server can now … Continue reading C Socket Programming – Send the file using TCP Sockets

Sliding Block Puzzle Solver(2×3, 3×2, 3×3) – C++ Programming

A program written in c language to solve a 2×3, 3×2, 3×3 sliding block puzzle. 1. DFS (Brute-Force)We can perform depth-first search on state space (Set of all configurations of a given problem i.e. all states that can be reached from initial state) tree. Image source: https://courses.cs.washington.edu In this solution, successive moves can take us away … Continue reading Sliding Block Puzzle Solver(2×3, 3×2, 3×3) – C++ Programming