Click here to Skip to main content
16,016,425 members

Comments by Sarjit (Top 10 by date)

Sarjit 27-Mar-14 9:20am View    
Thank you all.. But I tried it with different file afterwards... File was deleted successfully.. I think error was due to that file.
Sarjit 21-Mar-14 5:59am View    
But both of them have 2 items. For CR : MS Visual Studio 2008, Crystal Reports Basic for Visual Studio 2008 and for SQL : SQL Server Compact 3.5, SQL Server 2005 Express Edition SP2

Which one should I include?
Sarjit 6-Mar-14 8:02am View    
Thank you for your quick response... I am not able to do that can you please show me some code snippet?
Thank you...
Sarjit 6-Mar-14 6:53am View    
But how that will help me in connecting to the input and output stream of that server side Socket?
Sarjit 14-Aug-13 11:53am View    
Thank you Richard... I understood what was the problem... I changed my code but now Connection Reset error is coming... Please help by seeing this code... Thank you

try
{
String str= new String();
Socket client=new Socket(InetAddress.getLocalHost(),8888);
BufferedReader br = new BufferedReader(new InputStreamReader(client.getInputStream()));

while(br.ready()==false)
{
System.out.println("Still Not ready");
}
if(br.ready())
{
str=br.readLine();
System.out.println(str);
}
else
{
System.out.println("Not ready...");
}

}
catch(Exception e)
{
System.out.println("Error : " + e.toString());
}