socket Multithreading - & - Obtaining the IP of a client!
hey everybody, hope u r all having a gr8 time!
i have 2 questions:
1st i have a socket lets a call it x that runs on a pc that acts as a server, when multiple clients try to connect and send data to this socket will there be a problem ( will the java code multithread automatically and manage) or should i implement my multithreading.
2nd when one of the users sends an input stream to the server ... is there a method so as i can obtain the IP address of this user ?
i would really appreciate your help guys !