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;
IPHostEntry IPhst = Dns.Resolve(hostname);
IPEndPoint endPt = new IPEndPoint(IPhst.AddressList, 25);
Socket s = new Socket(endPt.AddressFamily, SocketType.Stream, ProtocolType.Tcp);
please trey to resolve the problem. it's a big problem for me.
manasa [ manasa446 ( at ) gmail dot com ],