User Profile

Collapse

Profile Sidebar

Collapse
neoy
neoy
Last Activity: Jul 11 '08, 12:07 AM
Joined: Jul 8 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • neoy
    replied to remote socket communication
    in Java
    I got the client side to work for sure.

    Code:
    Socket socket = new Socket("google.com", 80);
    //print out raw html
    still working on the server
    See more | Go to post

    Leave a comment:


  • neoy
    replied to remote socket communication
    in Java
    Thanks once again for all your help. I think I can figure it out from here. I'll probably post again on what the actual problem was when I get it working.
    See more | Go to post

    Leave a comment:


  • neoy
    replied to remote socket communication
    in Java
    Thanks for your responses. To clarify some things I am running a PC with windows XP and a laptop with slax (linux distro).

    My code basically looks like this:
    server side:
    Code:
    port = 4321;
    Socket socket = new ServerSocket(port).accept();
    //get streams and do io
    client side:
    Code:
    port = 4321;
    //replace "0.0.0.0" with ip address of host computer.
    ...
    See more | Go to post

    Leave a comment:


  • neoy
    started a topic remote socket communication
    in Java

    remote socket communication

    I'm trying to learn how to use sockets in java. I found a great tutorial at: http://java.sun.com/docs/books/tutorial/networking/sockets/clientServer.ht ml

    I was able to get the KnockKnockServe r and Client classes they provide there to work between two processes on one machine. However, I am unable to get it to function between different machines over the internet. I have tried using the various different constructors of both the...
    See more | Go to post
No activity results to display
Show More
Working...