I am trying to connect a client with gui with a server withoout gui. Connection is being done, but i cant see any messages between these two apps. (i should get SERVER HERE
You're using readLine() which expects a newline character. either add a \n to the messages you are sending or don't use readLine().
readLine()
\n