Search:

Type: Posts; User: Koren3

Search: Search took 0.13 seconds.

  1. Replies
    4
    Views
    7,042

    Re: Thread variable

    No i need when one thread get these getPort and getAddress give to second thread. first client send gatagram to server, server getAddress and getPort and these give to second thread this thread...
  2. Replies
    4
    Views
    7,042

    Re: Thread variable

    Yes ok it is udp server

    /*
    * To change this template, choose Tools | Templates
    * and open the template in the editor.
    */

    package msnserver;
  3. Replies
    4
    Views
    7,042

    How to do thread communication in java

    I have 2 threads and I need one variable get tu dhe second thread.
    For example: main Thread have int i=5;
    and i want this variable to second Thread
    How can i do this?
Results 1 to 3 of 3