Currently browsing

December 23, 2012

File Transfer using C# .Net Socket Programming 3/3

Continued code… Server Code: [C#] using System; using System.Collections.Generic; using System.Text; using System.Net; using System.Net.Sockets; using System.IO; namespace beginSocketServer { //FILE TRANSFER USING C#.NET SOCKET PROGRAMMING – SERVER class Program { static void Main(string[] args) { try { Console.WriteLine(“That program can transfer small file. I’ve test up to 850kb file”); …

INFORMATIONSCHEMA

INFORMATION_SCHEMA Introductions When we are taking about any RDBMS, it should be a data dictionary or metadata. MS SQL Server has no exceptions. In MS SQL Server there are two sources to view the metadata information.   1.    Various System Tables 2.    INFORMATION_SCHEMA views In this article I am trying …

How to implement a real life benchmark with PHP

How to implement a real life benchmark with PHP pre { background-color:#444; white-space:pre-wrap; font-size:80%; padding:0px 6px; } To determine the maximum capacity of a web page, Apache ab is often used in the first step. Fetching one URL very often is optimal for caching and gives a best case. To …

Solution of eight queens problem in Prolog

Solution of eight queens problem in Prolog Eight queens problem is a constraint satisfaction problem. The task is to place eight queens in the 64 available squares in such a way that no queen attacks each other. So the problem can be formulated with variables x1,x2,x3,x4,x5,x6,x7,x8 and y1,y2,y3,y4,y5,y6, y7,y8; the …