Search:

Type: Posts; User: Json

Search: Search took 0.12 seconds.

  1. Replies
    5
    Views
    3,112

    Re: Access the Same Socket

    Just use the code I posted above then, or even do it without the threading.

    // Json
  2. Replies
    5
    Views
    3,112

    Re: Access the Same Socket

    I take it these two classes are in the same client and not two different programs on start up?

    Something like this would possibly work.



    public class MainClass {

    public static void...
  3. Replies
    5
    Views
    3,112

    Re: Access the Same Socket

    Id have a look at Writing the Server Side of a Socket (The Java™ Tutorials > Custom Networking > All About Sockets) at specifically at the bottom of that page.

    // Json
Results 1 to 3 of 3