i have made a web application. it works fine but when i try to run the program it is giving the following exception.
A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host gas failed to respond
the code i added is:
string address = txt_emailid.Text;
string[] host = (address.Split('@'));
string hostname = host[1];
IPHostEntry IPhst = Dns.Resolve(hostname);
IPEndPoint endPt = new IPEndPoint(IPhst.AddressList[0], 25);
Socket s = new Socket(endPt.AddressFamily, SocketType.Stream, ProtocolType.Tcp);
s.Connect(endPt);
please trey to resolve the problem. it's a big problem for me.
manasa [ manasa446 ( at ) gmail dot com ],
2009-04-07 03:00:45
#