Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

java and the interweb thingy

Options
  • 03-02-2003 4:38pm
    #1
    Registered Users Posts: 6,240 ✭✭✭


    Hi does anyone know if it possible to run java network programs
    without being connected to network?

    what I mean is this I have a pc at home, not connected to anything, I use this to mess around with code etc.

    I hava a few C++ network stuff going on .. I would connect to ip address 127.0.0.1, and it would work fine.

    But everytime I try to do any network stuff with java, I get errors.

    Am I right to presume it cause I am not connected to a network??
    If so is there anyway around this?


Comments

  • Registered Users Posts: 68,317 ✭✭✭✭seamus


    Depends on what you're trying to do. If you're trying to conenct to a webserver, you'll need to have a webserver set up. If you're trying to ping, 127.0.0.1 should work fine......

    :)


  • Registered Users Posts: 6,240 ✭✭✭hussey


    well I was trying to send a "hello world" from client to server
    then server send it back

    but I was getting a socket execption
    I wrote it in work and worked fine in there


  • Registered Users Posts: 932 ✭✭✭yossarin


    what port are you trying to use ? OS ?
    do you have a firewall on your home machine ?


    bit'een of source code might not go amiss :)


Advertisement