User Profile

Collapse

Profile Sidebar

Collapse
rushnitrkl22
rushnitrkl22
Last Activity: Jun 20 '07, 04:24 AM
Joined: May 28 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • rushnitrkl22
    started a topic -------Socket------
    in Java

    -------Socket------

    hi!!!
    Can any one tell me what may be the posiible reasons of getting
    java.net.Socket .SocketExceptio n:Socket Closed
    at java.net.PlainS ocketImpl.setOp tion
    at java.net.Socket .setKeepAlive

    the socket to which I have connected is open .
    socket.isConnec ted()-----------true
    socket.setKeepA live(true)-----------throws the above
    ...
    See more | Go to post

  • rushnitrkl22
    replied to printf related...
    in C
    hi
    yah got it!!!..thanks a lot!!
    See more | Go to post

    Leave a comment:


  • rushnitrkl22
    replied to printf related...
    in C
    And what about the
    "%d",val+1 part???..Why theres no contribution?
    See more | Go to post

    Leave a comment:


  • rushnitrkl22
    started a topic printf related...
    in C

    printf related...

    hi!!!
    Please help me out as to what would be the output of the following code and whats the reason for it????
    What will be the output of the following program :
    int main()
    {
    int val=10;
    printf("%d",val +1,"%d",val--);
    return(0);
    }
    See more | Go to post

  • rushnitrkl22
    started a topic Https connection
    in Java

    Https connection

    hi!!!
    can anyone tell me how do I connect my Java application to an Https ????
    See more | Go to post

  • rushnitrkl22
    replied to Simple but not working????
    in Java
    I wrote the above two linwes...
    The string resp_str is displayed and the length of the file is also obtained...
    but nothing gets written into the file....
    Also u said about closing the file..that I m not doing as I dont knoe how to close the file....
    See more | Go to post

    Leave a comment:


  • rushnitrkl22
    started a topic Simple but not working????
    in Java

    Simple but not working????

    hii everyone!!!
    Heres a code for writing a string stored in resp_str to a file in thge path specified but I dont get the required string in the output file...I just get an empty file....
    pls help me..as to why it is happening...the res no error which I get!!!
    Regards Punit

    [code=java]
    File output=new File("D:\\Punit \\Output.txt");
    boolean a=output.exists ();
    System.out.prin tln("the...
    See more | Go to post
    Last edited by JosAH; May 31 '07, 03:37 PM. Reason: added [code=java] ... [/code] tags

  • rushnitrkl22
    replied to Https connection???
    in Java
    thanks for ur reply!!!!
    which class in the API should I use???...
    See more | Go to post

    Leave a comment:


  • rushnitrkl22
    started a topic Https connection???
    in Java

    Https connection???

    hi everyone!!!
    Heres a code to link to an Https site and read the contents of it.But i get an ClassCastExcept ion...Pls help me out as to whyI m getting this error and ..how can it be rectified....
    URL aURL;
    char ch;
    Security.addPro vider(new com.sun.net.ssl .internal.ssl.P rovider());
    System.setPrope rty("java.proto col.handler.pkg s","com.sun.net .ssl.internal.w ww.protocol");
    ...
    See more | Go to post

  • rushnitrkl22
    started a topic Https connection
    in .NET

    Https connection

    hello everyone!!!
    Heres a code to open a link to an https site and read its contents...
    but it gives an exception...Cla ssCastException
    [code=c]
    URL aURL;
    char ch;
    Security.addPro vider(new com.sun.net.ssl .internal.ssl.P rovider());
    System.setPrope rty("java.proto col.handler.pkg s","com.sun.net .ssl.internal.w ww.protocol");

    aURL = new URL(null,defaul tURL, new com.sun.net.ssl .internal.www.p rotocol.https.H andler());...
    See more | Go to post
No activity results to display
Show More
Working...