I'm trying to implement a serverSocket wich sends a message to a client, just for testing this method ( writeUTF() ). I'm having no results, i've already read the specification but it seems to be so simple in the text, but when I implement it, i just got out of action.
As follows, for server:
In the client's machine:
Thanks in advance.
posted 8 years ago
I suggest replacing e.fillInStackTrace() with e.printStackTrace(). The former is unnecessary, and does not do anything to show you the stack trace.