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...
Type: Posts; User: Koren3
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...
Yes ok it is udp server
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package msnserver;
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?