World Cup 2007 Trivia


Year 1981

1. Prince Charles got married
2. Liverpool crowned Champions of Europe
3. Australia lost the Ashes
4. Pope Died

1982 Football World Cup won by Italy
1983 Cricket World Cup won by India

Year 2005

1. Prince Charles got married
2. Liverpool crowned Champions of Europe
3. Australia lost the Ashes
4. Pope Died

2006 Football World Cup won by Italy .
2007 Cricket World Cup: INDIA ???

Getting IP address given the host name



You have developed the next big socket application. But your users are not sure about the IP address of the server they want to connect to. They input host name most of the time and you require IP addresses for your code to work well. No problemo… Use the following function to get the IP address of a host, given its name:

using System.Net;
public string GetIPAddress(string sHostName)
{
IPHostEntry ipEntry = Dns.GetHostByName(sHostName);
IPAddress [] addr = ipEntry.AddressList;
string sIPAddress = addr[0].ToString();
return sIPAddress;
}

To get the IP of the local machine, use the following method before invoking GetIPAddress():

string sHostName = Dns.GetHostName();

How Does Friendship Break ?



Both Friends will think the other is busy and
will not contact thinking it may b disturbing.
As time passes both will
think let the other contact.
After that each will think why should I
contact first. Here ur love will be converted to Hate.
Finally without
contact the memory becomes weak.
They forget each other. One fine Day they
will meet n blame one another.
So Keep in touch with all your Friends.
N Pass this to all your friends…
I don’t want to be one of this
kind.. so here i am to say u Hi,,,,
Take care keep in touch n send this to
ur friends before its too late!!!!!

Regards,
Austin.