// here is the problem if i am debuging it with break point in visual studion i am getting the result. but if i am running the application exe it takes time to read the response from socket.
// to avoid this i ahve used thread.sleep but its not a solution becasue of performance.
// same code is running on the windows server 2003 properly
// presenly im running my service on windows server 2008 and client is also on windows server 2008.
// my service is ruuing properly .problem is in only client. static void Connect()
{
bool blnRc = false;
string strHostName = "153.71.83.126";
//intPort = Convert.ToInt32(strPort, 10);
IPAddress objectIPAddress;
Socket objectSocket;
...
Go to the complete details ...