Hi. I have problem with my aplication. You must run it with argument 0(for server) and 1(for client).
I don't know why but it freezes on the ObjectInputStream constructors with Cipher streams. When I don't use
Cipher stream it works. When i have only ois = new ObjectInputStream(new CipherInputStream(s.getInputStream(), cipher2)); in the server and ous = new ObjectOutputStream(new CipherOutputStream(s.getOutputStream(), cipher2)); in the client it works too. What i'm doing wrong?
Thanks for your help and sorry for my english.
greetings for you all.