Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Page 1 of 2 12 LastLast
Results 1 to 25 of 41

Thread: simple soclet communication between 2 PCs

  1. #1
    Junior Member
    Join Date
    Dec 2013
    Posts
    29
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default simple soclet communication between 2 PCs

    Hi

    I have the following code which runs successfully as a stand alone example

    when I try to incorporate it into my java program I get an error message

    Error message (on Server): Cannot make a static reference to the non-static field server

    Please advise what I need to change in the code to get it to work ?

    Bob M
    New Zealand

    SocketServer console:
    Waiting for the client request
    Message Received: GBPAUDtest-data
    Waiting for the client request
     
    SocketClient console:
    Sending request to Socket Server
    Message: GBPAUDtest-data
     
    SocketServer:
     
    import java.io.IOException;
    import java.io.ObjectInputStream;
    import java.io.ObjectOutputStream;
    import java.net.ServerSocket;
    import java.net.Socket;
     
    /**
     * This class implements java Socket server
     *
     */
    public class SocketServer {
        // static ServerSocket variable
        private static ServerSocket server;
        // socket server port on which it will listen
        private static int port = 9876;
     
        public static void main(String args[]) throws IOException,
                ClassNotFoundException {
            // create the socket server object
            server = new ServerSocket(port);
            // keep listens indefinitely until receives 'exit' call or program
            // terminates
            while (true) {
                System.out.println("Waiting for the client request");
                // creating socket and waiting for client connection
                Socket socket = server.accept();
                // read from socket to ObjectInputStream object
                ObjectInputStream ois = new ObjectInputStream(
                        socket.getInputStream());
                // convert ObjectInputStream object to String
                String message = (String) ois.readObject();
                System.out.println("Message Received: " + message);
                // create ObjectOutputStream object
                ObjectOutputStream oos = new ObjectOutputStream(
                        socket.getOutputStream());
                // write object to Socket
                oos.writeObject(message);
                // close resources
                ois.close();
                oos.close();
                socket.close();
                // terminate the server if client sends exit request
                if (message.equalsIgnoreCase("exit"))
                    break;
            }
            System.out.println("Shutting down Socket server!!");
            // close the ServerSocket object
            server.close();
        }
    } // end of SocketServer
     
    SocketClient
     
    import java.io.IOException;
    import java.io.ObjectInputStream;
    import java.io.ObjectOutputStream;
    import java.net.InetAddress;
    import java.net.Socket;
    import java.net.UnknownHostException;
     
    /**
     * This class implements java socket client
     *
     */
    public class SocketClient {
        public static void main(String[] args) throws UnknownHostException, IOException,
                ClassNotFoundException, InterruptedException {
     
            String Trading_Decision_2 = "test-data";
            // get Computer 1 (server) IP address
            InetAddress host = (InetAddress.getByName("127.0.0.2"));
            Socket socket = null;
            ObjectOutputStream oos = null;
            ObjectInputStream ois = null;
            // establish socket connection to server
            socket = new Socket(host.getHostName(), 9876);
            // write to socket using ObjectOutputStream
            oos = new ObjectOutputStream(socket.getOutputStream());
            // Socket
            System.out.println("Sending request to Socket Server");
            oos.writeObject("GBPAUD" + Trading_Decision_2);
            // read the server response message
            ois = new ObjectInputStream(socket.getInputStream());
            String message = (String) ois.readObject();
            System.out.println("Message: " + message);
            // close resources
            ois.close();
            oos.close();
            Thread.sleep(100);
        }
    } // end of SocketClient

  2. #2
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    22,223
    Thanks
    53
    Thanked 2,385 Times in 2,339 Posts

    Default Re: simple soclet communication between 2 PCs

    Cannot make a static reference to the non-static field server
    Is that a compiler error? Can you post the full text of the error message that includes the source file line where the error happens?
    If you don't understand my answer, don't ignore it, ask a question.

  3. #3
    Junior Member
    Join Date
    Dec 2013
    Posts
    29
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: simple soclet communication between 2 PCs

    yes - compilation errors

    3 problems (3 errors)
    2019-06-06 15:26:00 ----------
    2019-06-06 15:26:00 3. ERROR in C:\Users\...............java (at line 1683)
    2019-06-06 15:26:00 public static void main(String args[]) throws IOException, ClassNotFoundException {
    2019-06-06 15:26:00 ___________________^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    2019-06-06 15:26:00 The method main cannot be declared static; static methods can only be declared in a static or top level type
    2019-06-06 15:26:00 ----------
    2019-06-06 15:26:00 2. ERROR in C:\Users\.............java (at line 1678)
    2019-06-06 15:26:00 public class SocketServer () {
    2019-06-06 15:26:00 _____________________________^
    2019-06-06 15:26:00 Syntax error, insert "}" to complete Block
    2019-06-06 15:26:00 ----------
    2019-06-06 15:26:00 1. ERROR in C:\Users\.............java (at line 1678)
    2019-06-06 15:26:00 public class SocketServer () {
    2019-06-06 15:26:00 _______^^^^^
    2019-06-06 15:26:00 Syntax error on token "class", @ expected
    2019-06-06 15:25:59 Compiling xxxx.java

    Line 1678 = public class SocketServer {
    Line 1683 = public static void main(......etc.

  4. #4
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    22,223
    Thanks
    53
    Thanked 2,385 Times in 2,339 Posts

    Default Re: simple soclet communication between 2 PCs

    The method main cannot be declared static; static methods can only be declared in a static or top level type
    Is that main in a nested class? Make the nested class static as recommended by the error message.
    If you don't understand my answer, don't ignore it, ask a question.

  5. #5
    Junior Member
    Join Date
    Dec 2013
    Posts
    29
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: simple soclet communication between 2 PCs

    Hi

    have done that and now on compilation I get 2 problems on amended line

    public static class SocketServer() {

    Error 1] Syntax error on token "class", @ expected
    Error 2] Syntax error, insert } to complete block

    I don't understand the second error
    when I highlight the { at the end of the offending line
    I see the matching } on the second line after server.close(); where it should be (as per listing)

  6. #6
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    22,223
    Thanks
    53
    Thanked 2,385 Times in 2,339 Posts

    Default Re: simple soclet communication between 2 PCs

    Sorry, I need to see the full source to know why the compiler is unhappy.

    If the code is really 1600+ lines, don't post all of it. Make a small, complete program that creates the error and post that.
    If you don't understand my answer, don't ignore it, ask a question.

  7. #7
    Junior Member
    Join Date
    Dec 2013
    Posts
    29
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: simple soclet communication between 2 PCs

    will do.....

    Bob M

  8. #8
    Junior Member
    Join Date
    Dec 2013
    Posts
    29
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: simple soclet communication between 2 PCs

    questions:-......................

    Is that main in a nested class (you asked)
    Does it appear to be in the code I posted ?

    Make the class static (you advised)
    I added the word 'static' - is that all I needed to do ?

    Bob M

  9. #9
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    22,223
    Thanks
    53
    Thanked 2,385 Times in 2,339 Posts

    Default Re: simple soclet communication between 2 PCs

    The main methods in the posted code look ok. However the error message you posted showed the error was at line 1683. Obviously not what was posted.

    I added the word 'static' - is that all I needed to do ?
    Did you try it? What happened?
    Using static in a nested class requires that the class be static.
    If you don't understand my answer, don't ignore it, ask a question.

  10. #10
    Junior Member
    Join Date
    Dec 2013
    Posts
    29
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: simple soclet communication between 2 PCs

    the stand-alone example works

    it is when I try to incorporate it into my large java program that i have problems

  11. #11
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    22,223
    Thanks
    53
    Thanked 2,385 Times in 2,339 Posts

    Default Re: simple soclet communication between 2 PCs

    incorporate it
    What does that mean?
    Assuming the sources for the two classes are exactly as posted here,
    Since the code in each class runs from the static main method, code in another class can call either of the classes through their main method. For example:
        SocketServer.main(new String[]{});

    If by incorporate you mean that the code has been cut and pasted, then you need to make a small, simple program that shows the problem and paste it here.
    If you don't understand my answer, don't ignore it, ask a question.

  12. #12
    Junior Member
    Join Date
    Dec 2013
    Posts
    29
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: simple soclet communication between 2 PCs

    Incorporate = add server code (cut and paste) as a subroutine in my large java program and call it when required - on Computer 1

    Add client code (cut and paste) as a subroutine in my large java program and call it when required on Computer 2

    at this stage I experience compilation errors as posted

    Bob M

  13. #13
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    22,223
    Thanks
    53
    Thanked 2,385 Times in 2,339 Posts

    Default Re: simple soclet communication between 2 PCs

    Methods in existing classes can be called without changing the source.

    See my last for how the static main method of a class can be called.

    Until you post code as I have suggested several times, I can only guess what is wrong.
    If you don't understand my answer, don't ignore it, ask a question.

  14. #14
    Junior Member
    Join Date
    Dec 2013
    Posts
    29
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: simple soclet communication between 2 PCs

    Incorporate = add server code (cut and paste) as a subroutine in my large java program and call it when required - on Computer 1

    Add client code (cut and paste) as a subroutine in my large java program and call it when required on Computer 2

    at this stage I experience compilation errors as posted

    Bob M

    --- Update ---

    short program and error listing follows...................

    package my_strategies;
     
    import com.dukascopy.api.*;
    import com.dukascopy.api.IEngine.OrderCommand;
    import java.io.*;
    import java.io.IOException;
    import java.io.ObjectInputStream;
    import java.io.ObjectOutputStream;
    import java.io.FileInputStream;
    import java.io.InputStreamReader;
    import java.io.BufferedWriter;
    import java.io.File;
    import java.io.FileWriter;
    import java.io.FileNotFoundException;
    import java.net.ServerSocket;
    import java.net.Socket;
    import java.net.URL;
    import java.lang.ClassNotFoundException;
     
    public class testing_communication implements IStrategy {
        private IConsole myConsole = null;
     
        private final com.dukascopy.api.Filter indicatorFilter = com.dukascopy.api.Filter.WEEKENDS;
     
        public void onStart(IContext context) throws JFException {
        } // end onStart
     
        public void onAccount(IAccount account) throws JFException {
        }// end onAccount
     
        public void onMessage(IMessage message) throws JFException {
        } // end onMessage
     
        public void onStop() throws JFException {
        } // end onStop
     
        public void onTick(Instrument instrument, ITick tick) throws JFException {
        } // end onTick
     
        public void onBar(Instrument instrument, Period period, IBar askBar, IBar bidBar) throws JFException {
            try {
                new SocketServer();
            }
            catch(Exception e) {
                myConsole.getOut().println("SocketServer exception occured: " + e);
              e.printStackTrace();
            }
        }            
    //*******************************************************************************************
        /**
        * This class implements java Socket server
        *
        */
        public static class SocketServer(){
        //static ServerSocket variable
        private static ServerSocket server;
        //socket server port on which it will listen
        private static int port = 9876;
        public static void main(String args[]) throws IOException, ClassNotFoundException {
                //create the socket server object
                server = new ServerSocket(port);
                //keep listens indefinitely until receives 'exit' call or program terminates
                while(true){
                    System.out.println("Waiting for the client request");
                    //creating socket and waiting for client connection
                    Socket socket = server.accept();
                    //read from socket to ObjectInputStream object
                    ObjectInputStream ois = new ObjectInputStream(socket.getInputStream());
                    //convert ObjectInputStream object to String
                    String message = (String) ois.readObject();
                    System.out.println("Message Received: " + message);
                    //create ObjectOutputStream object
                    ObjectOutputStream oos = new ObjectOutputStream(socket.getOutputStream());
                    //write object to Socket
                    oos.writeObject(message);
                    //close resources
                    ois.close();
                    oos.close();
                    socket.close();
                    //terminate the server if client sends exit request
                    if(message.equalsIgnoreCase("exit"))
                        break;
                }
                System.out.println("Shutting down Socket server!!");
                //close the ServerSocket object
                server.close();
            }
        } // end of SocketServer
    } //end of strategy testing_communication

    error listing.................

    Time Messages
    2019-06-06 23:48:26 ----------
    2019-06-06 23:48:26 3 problems (3 errors)
    2019-06-06 23:48:26 ----------
    2019-06-06 23:48:26 3. ERROR in C:\Users\64210\AppData\Local\JForex\64210\jfxide\t mp\compile\testing_communication.java (at line 89)
    2019-06-06 23:48:26 } //end of strategy testing_communication
    2019-06-06 23:48:26 ^
    2019-06-06 23:48:26 Syntax error on token "}", delete this token
    2019-06-06 23:48:26 ----------
    2019-06-06 23:48:26 2. ERROR in C:\Users\64210\AppData\Local\JForex\64210\jfxide\t mp\compile\testing_communication.java (at line 54)
    2019-06-06 23:48:26 public static class SocketServer(){
    2019-06-06 23:48:26 __________________________________^
    2019-06-06 23:48:26 Syntax error, insert "}" to complete Block
    2019-06-06 23:48:26 ----------
    2019-06-06 23:48:26 1. ERROR in C:\Users\64210\AppData\Local\JForex\64210\jfxide\t mp\compile\testing_communication.java (at line 54)
    2019-06-06 23:48:26 public static class SocketServer(){
    2019-06-06 23:48:26 ______________^^^^^
    2019-06-06 23:48:26 Syntax error on token "class", @ expected
    2019-06-06 23:48:25 Compiling testing_communication.java
    Last edited by Norm; June 6th, 2019 at 06:57 PM. Reason: Fixed leading code tag

  15. #15
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    22,223
    Thanks
    53
    Thanked 2,385 Times in 2,339 Posts

    Default Re: simple soclet communication between 2 PCs

    What program are you using to compile the source?
    I get the following error message when I compile:
    testing_communication.java:54: error: '{' expected
        public static class SocketServer(){          //  <<<< () ???
                                        ^
    There should not be () after the class name.
    If you don't understand my answer, don't ignore it, ask a question.

  16. #16
    Junior Member
    Join Date
    Dec 2013
    Posts
    29
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: simple soclet communication between 2 PCs

    I am logged on to Dukascopy's Trading platform where one runs java programs

    I have removed () and get a clean compile

    Sorry for my bad.........

    thank you very much

    Bob M
    New Zealand

  17. #17
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    22,223
    Thanks
    53
    Thanked 2,385 Times in 2,339 Posts

    Default Re: simple soclet communication between 2 PCs

    You are welcome. Good luck with the rest of the project.
    If you don't understand my answer, don't ignore it, ask a question.

  18. #18
    Junior Member
    Join Date
    Dec 2013
    Posts
    29
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: simple soclet communication between 2 PCs

    I spoke too soon....................

    Clean compile on Socket Server code but

    1 compile error on the Socket Client code

    reference to Trading_Decision_2

    error] cannot make a static reference to the non-static field Trading_Decision_2

    which is a variable calculated earlier on in the large java program
    Last edited by Bob M; June 6th, 2019 at 07:58 PM.

  19. #19
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    22,223
    Thanks
    53
    Thanked 2,385 Times in 2,339 Posts

    Default Re: simple soclet communication between 2 PCs

    cannot make a static reference to the non-static field Trading_Decision_2
    You need an reference to an instance of the class to reference a non-static variable from inside of a static method.
    If you don't understand my answer, don't ignore it, ask a question.

  20. #20
    Junior Member
    Join Date
    Dec 2013
    Posts
    29
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: simple soclet communication between 2 PCs

    can you show me an example of what you are meaning please ?

  21. #21
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    22,223
    Thanks
    53
    Thanked 2,385 Times in 2,339 Posts

    Default Re: simple soclet communication between 2 PCs

    SomeClass refToClass = new SomeClasss();  // create new instance and save address in refToClass
     
      ...
       myVar = refToClass.someVariable;  // use reference to class to access variable in class
    If you don't understand my answer, don't ignore it, ask a question.

  22. #22
    Junior Member
    Join Date
    Dec 2013
    Posts
    29
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: simple soclet communication between 2 PCs

    hi again

    I am now going with a non-static solution as follows.........
    import java.io.*;
    import java.net.*;
     
    public class SocketClient {
     
        private int port;
        private String host;
     
        public static void main (String[] args) throws Exception {
            String tradingDecision = args.length == 0
                                    ? "test"
                                    : args[0];
     
            SocketClient client = new SocketClient("localhost", 9876);
            client.sendMessage(tradingDecision);
        }
     
        public SocketClient (String host, int port) {
            this.host = host;
            this.port = port;
        }
     
        protected void sendMessage (String msg) throws Exception {
            // establish socket connection to server
            Socket socket = new Socket(host, 9876);
            // write to socket using ObjectOutputStream
            ObjectOutputStream oos = new ObjectOutputStream(socket.getOutputStream());
            // Socket
            System.out.println("Sending request to Socket Server");
            oos.writeObject(msg);
            // read the server response message
            ObjectInputStream ois = new ObjectInputStream(socket.getInputStream());
            String message = (String) ois.readObject();
            System.out.println("Message: " + message);
            // close resources
            ois.close();
            oos.close();
        }
    }

    How do I call this subroutine from my main program in a new thread ?

    Bob M

  23. #23
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    22,223
    Thanks
    53
    Thanked 2,385 Times in 2,339 Posts

    Default Re: simple soclet communication between 2 PCs

    How do I call this subroutine from my main program in a new thread ?
    See my last post for how to call a method in another class:
    Create an instance and use it to call a method. Just like you do here:
            ObjectInputStream ois = new ObjectInputStream(socket.getInputStream());   // create an instance
            String message = (String) ois.readObject();    // call its method

    Or is your question about how to create and use a Thread?
    See the tutorial: https://docs.oracle.com/javase/tutor...rocthread.html
    If you don't understand my answer, don't ignore it, ask a question.

  24. #24
    Junior Member
    Join Date
    Dec 2013
    Posts
    29
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: simple soclet communication between 2 PCs

    Hi

    I have the following code (in my main java programs - which activate every hour on the hour)

    Computer 2: (Client)
    Calling code:-
    // send a message to Computer 1 with your trading decision
     
            try {
                SocketClient client = new SocketClient("localhost", 9876);
                client.sendMessage(Trading_Decision_2);
                fw.writetoFile(("we get to here - zz: "), File_Name);
                }
            catch(Exception e) {
                myConsole.getOut().println("SocketClient exception occurred: " + e);
                e.printStackTrace();
            }
    Socket Client code:-
    public class SocketClient {
     
            private int port;
            private String host;
     
            public SocketClient (String host, int port) {
                this.host = host;
                this.port = port;
            }
     
            protected void sendMessage (String msg) throws Exception {
                // establish socket connection to server
                Socket socket = new Socket(host, 9876);
                // write to socket using ObjectOutputStream
                ObjectOutputStream oos = new ObjectOutputStream(socket.getOutputStream());
                // Socket
                System.out.println("Sending request to Socket Server");
                oos.writeObject(msg);
                // read the server response message
                ObjectInputStream ois = new ObjectInputStream(socket.getInputStream());
                String message = (String) ois.readObject();
                System.out.println("Message: " + message);
                // close resources
                ois.close();
                oos.close();
            }
        } // end of SocketClient
    Computer 1: (Server)
    Calling code:-
    // initialise and start our thread
            NewThread t = new NewThread();
            t.start();
            fw.writetoFile(("we get to here  - zz"), File_Name);
     
            // setup socket connection on new background thread (to receive trading decision from Computer 2)
            try {
               SocketServer server = new SocketServer(9876);
               server.start();
               fw.writetoFile(("we get to here  - zzz"), File_Name);
               }
            catch(Exception e) {
               myConsole.getOut().println("SocketServer exception occured: " + e);
               e.printStackTrace();
            }
    Socket Server code:-
    public class SocketServer {
            private int port;
     
            public SocketServer (int port) {
                this.port = port;
            }
     
            protected void start() throws Exception {
                // create the socket server object
                ServerSocket server = new ServerSocket(port);
                // keep listens indefinitely until receives 'exit' call or program terminates
                while (true) {
                    System.out.println("Waiting for the client request");
                    // creating socket and waiting for client connection
                    Socket socket = server.accept();
                    // read from socket to ObjectInputStream object
                    ObjectInputStream ois = new ObjectInputStream(socket.getInputStream());
                    // convert ObjectInputStream object to String
                    String message = (String) ois.readObject();
                    System.out.println("Message Received: " + message);
                    // create ObjectOutputStream object
                    ObjectOutputStream oos = new ObjectOutputStream(socket.getOutputStream());
                    // write object to Socket
                    oos.writeObject(message);
                    // close resources
                    ois.close();
                    oos.close();
                    socket.close();
                    // terminate the server if client sends exit request
                    if (message.equalsIgnoreCase("exit"))
                        break;
                }
                System.out.println("Shutting down Socket server!!");
                // close the ServerSocket object
                server.close();
            }
        } // end of SocketServer
    I am tangled up a bit here

    Client error: (hourly)
    SocketClient exception occurred: java.net.ConnectException: Connection refused: connect

    Server error: (hourly)
    SocketServer exception occured:java.net.BindException:Address already in use"JVM_Bind

    This is my first attempt at explicitly using 'new' background thread !

    Help

    Bob M

  25. #25
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    22,223
    Thanks
    53
    Thanked 2,385 Times in 2,339 Posts

    Default Re: simple soclet communication between 2 PCs

    Address already in use
    That sounds like you are trying to start more than one socket at the same address.
    If you don't understand my answer, don't ignore it, ask a question.

Page 1 of 2 12 LastLast

Similar Threads

  1. How Accessing PCs in a Domain
    By evaboy in forum Java Networking
    Replies: 1
    Last Post: May 28th, 2017, 11:53 AM
  2. JAVA and communication with RS232
    By wafa22 in forum What's Wrong With My Code?
    Replies: 1
    Last Post: March 2nd, 2014, 07:38 AM
  3. usb hid about communication
    By serifvatansever in forum Android Development
    Replies: 1
    Last Post: November 2nd, 2013, 08:01 PM
  4. client server communication
    By Brt93yoda in forum Java Theory & Questions
    Replies: 4
    Last Post: September 2nd, 2010, 04:49 PM
  5. communication protocol
    By isaac in forum Java Networking
    Replies: 1
    Last Post: February 5th, 2010, 07:20 AM